summaryrefslogtreecommitdiffstats
path: root/samples/configfs/configfs_sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/configfs/configfs_sample.c')
-rw-r--r--samples/configfs/configfs_sample.c3
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];