Skip to content

Commit

Permalink
samples: configfs: consolidate local variables of the same type
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
brgl authored and Christoph Hellwig committed Oct 7, 2020
1 parent 91aad62 commit 4e415a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions samples/configfs/configfs_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 4e415a8

Please sign in to comment.