diff options
author | Pavel Machek | 2005-11-27 09:47:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2006-01-04 13:48:35 -0800 |
commit | 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 (patch) | |
tree | b2832719b2427485f7e727262649defa2cc013d8 | |
parent | 12c3da346eb81b6a281031f62eda3bca993dff5a (diff) |
[PATCH] USB: Cleanups for usb gadget mass-storage
Remove useless initalizers.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
-rw-r--r-- | drivers/usb/gadget/file_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c index f6f0b2aa1145..f6c49b717d3f 100644 --- 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; |