Skip to content

Commit 4e415a8

Browse files
brglChristoph Hellwig
authored andcommitted
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 <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 91aad62 commit 4e415a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

samples/configfs/configfs_sample.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,8 @@ static struct configfs_subsystem *example_subsys[] = {
331331

332332
static int __init configfs_example_init(void)
333333
{
334-
int ret;
335-
int i;
336334
struct configfs_subsystem *subsys;
335+
int ret, i;
337336

338337
for (i = 0; example_subsys[i]; i++) {
339338
subsys = example_subsys[i];

0 commit comments

Comments
 (0)