diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-11-27 17:47:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-05 00:48:35 +0300 |
commit | 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 (patch) | |
tree | b2832719b2427485f7e727262649defa2cc013d8 /drivers/usb | |
parent | 12c3da346eb81b6a281031f62eda3bca993dff5a (diff) | |
download | linux-3aea4a76a3ec4e6484f6316a97efff8b144b2b11.tar.xz |
[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>
Diffstat (limited to 'drivers/usb')
-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; |