summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2005-11-27 14:47:28 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-04 21:48:35 (GMT)
commit3aea4a76a3ec4e6484f6316a97efff8b144b2b11 (patch)
treeb2832719b2427485f7e727262649defa2cc013d8
parent12c3da346eb81b6a281031f62eda3bca993dff5a (diff)
downloadlinux-fsl-qoriq-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>
-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 f6f0b2a..f6c49b7 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;