[PATCH 10/12] samples: configfs: consolidate local variables of the same type
From: Bartosz Golaszewski
Date: Thu Sep 24 2020 - 08:45:52 EST
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
Move local variables of the same type into a single line for better
readability.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
---
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