summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-11-27 09:47:28 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 13:48:35 -0800
commit3aea4a76a3ec4e6484f6316a97efff8b144b2b11 (patch)
treeb2832719b2427485f7e727262649defa2cc013d8 /drivers
parent12c3da346eb81b6a281031f62eda3bca993dff5a (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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/file_storage.c4
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;