diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-09-24 14:45:24 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-07 15:46:21 +0200 |
commit | 4e415a844ddd705cc7de87e01f0e6189a3def8ef (patch) | |
tree | 76e937bad5d2e4da6c113ec619f0a254f555c243 /samples/configfs | |
parent | 91aad62560fc8cc11a1f04e627da0c0f0d33ef08 (diff) | |
download | linux-4e415a844ddd705cc7de87e01f0e6189a3def8ef.tar.gz linux-4e415a844ddd705cc7de87e01f0e6189a3def8ef.tar.bz2 linux-4e415a844ddd705cc7de87e01f0e6189a3def8ef.zip |
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/configfs')
-rw-r--r-- | samples/configfs/configfs_sample.c | 3 |
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]; |