projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c3da3
)
[PATCH] USB: Cleanups for usb gadget mass-storage
author
Pavel Machek
<pavel@ucw.cz>
Sun, 27 Nov 2005 14:47:28 +0000
(09:47 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 4 Jan 2006 21:48:35 +0000
(13:48 -0800)
Remove useless initalizers.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
drivers/usb/gadget/file_storage.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/file_storage.c
b/drivers/usb/gadget/file_storage.c
index f6f0b2aa1145d455bee63536a2ee2afdf740c55b..f6c49b717d3f96b4b1ebecff92cd99d58e047615 100644
(file)
--- a/
drivers/usb/gadget/file_storage.c
+++ b/
drivers/usb/gadget/file_storage.c
@@
-336,8
+336,8
@@
MODULE_LICENSE("Dual BSD/GPL");
#define MAX_LUNS 8
/* Arggh! There should be a module_param_array_named macro! */
-static char *file[MAX_LUNS]
= {NULL, }
;
-static int ro[MAX_LUNS]
= {0, }
;
+static char *file[MAX_LUNS];
+static int ro[MAX_LUNS];
static struct {
int num_filenames;