OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91aad62
)
samples: configfs: consolidate local variables of the same type
author
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Thu, 24 Sep 2020 12:45:24 +0000
(14:45 +0200)
committer
Christoph Hellwig
<hch@lst.de>
Wed, 7 Oct 2020 13:46:21 +0000
(15:46 +0200)
Move local variables of the same type into a single line for better
readability.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
samples/configfs/configfs_sample.c
patch
|
blob
|
history
diff --git
a/samples/configfs/configfs_sample.c
b/samples/configfs/configfs_sample.c
index
66bb9bc
..
2e56d69
100644
(file)
--- 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];