From: Pavel Machek Date: Sun, 27 Nov 2005 14:47:28 +0000 (-0500) Subject: [PATCH] USB: Cleanups for usb gadget mass-storage X-Git-Tag: MMI-PSA29.97-13-9~52898^2~16^2~35^2~44 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3aea4a76a3ec4e6484f6316a97efff8b144b2b11;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [PATCH] USB: Cleanups for usb gadget mass-storage Remove useless initalizers. Signed-off-by: Pavel Machek Signed-off-by: Alan Stern --- 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;