lkml.org 
[lkml]   [2004]   [Jan]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 20 Jan 2004 23:43:52 +0100
FromAdrian Bunk <>
SubjectRe: [PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1>
On Sat, Jan 17, 2004 at 01:42:56PM +0000, in wrote:
> [PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1>
> It just takes out the unused int! just takes of the warning when compiling!


It isn't unused #ifdef CONFIG_USB_STORAGE_SDDR09 .



> --- a/drivers/usb/storage/dpcm.c  2003-12-18 02:59:15.000000000 +0000
> +++ linux/drivers/usb/storage/dpcm.c    2004-01-17 13:22:49.000000000 +0000
> @@ -43,8 +43,6 @@
>   */
>  int dpcm_transport(Scsi_Cmnd *srb, struct us_data *us)
>  {
> -  int ret;
> -
>    if(srb == NULL)
>      return USB_STOR_TRANSPORT_ERROR;

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008