]> err.no Git - linux-2.6/commitdiff
[PATCH] USB: Cleanups for usb gadget mass-storage
authorPavel Machek <pavel@ucw.cz>
Sun, 27 Nov 2005 14:47:28 +0000 (09:47 -0500)
committerGreg 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

index f6f0b2aa1145d455bee63536a2ee2afdf740c55b..f6c49b717d3f96b4b1ebecff92cd99d58e047615 100644 (file)
@@ -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;