On Sun, 27 Nov 2005, Pavel Machek wrote:

> Hi!
> 
> Of course I forgot the patch...
> 
>                                                       Pavel
> 
> Remove useless initalizers.
> 
> Signed-off-by: Pavel Machek <[EMAIL PROTECTED]>
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

> 
> diff --git a/drivers/usb/gadget/file_storage.c 
> b/drivers/usb/gadget/file_storage.c
> --- a/drivers/usb/gadget/file_storage.c
> +++ b/drivers/usb/gadget/file_storage.c
> @@ -335,8 +335,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;
> 
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to