Messages in this thread Patch in this message | | | From | Bartosz Golaszewski <> | Subject | [PATCH 10/12] samples: configfs: consolidate local variables of the same type | Date | Thu, 24 Sep 2020 14:45:24 +0200 |
| |
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Move local variables of the same type into a single line for better readability.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> --- samples/configfs/configfs_sample.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/samples/configfs/configfs_sample.c b/samples/configfs/configfs_sample.c index 220aee7075b6..49c87ca58116 100644 --- a/samples/configfs/configfs_sample.c +++ b/samples/configfs/configfs_sample.c @@ -330,9 +330,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]; -- 2.17.1
| |