summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2020-09-24 14:45:24 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-07 15:46:21 +0200
commit4e415a844ddd705cc7de87e01f0e6189a3def8ef (patch)
tree76e937bad5d2e4da6c113ec619f0a254f555c243 /samples
parent91aad62560fc8cc11a1f04e627da0c0f0d33ef08 (diff)
samples: configfs: consolidate local variables of the same type
Move local variables of the same type into a single line for better readability. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'samples')
-rw-r--r--samples/configfs/configfs_sample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/samples/configfs/configfs_sample.c b/samples/configfs/configfs_sample.c
index 66bb9bc5c8d0..2e56d6920642 100644
--- a/samples/configfs/configfs_sample.c
+++ b/samples/configfs/configfs_sample.c
@@ -331,9 +331,8 @@ static struct configfs_subsystem *example_subsys[] = {
static int __init configfs_example_init(void)
{
- int ret;
- int i;
struct configfs_subsystem *subsys;
+ int ret, i;
for (i = 0; example_subsys[i]; i++) {
subsys = example_subsys[i];