public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1>
@ 2004-01-17 13:42 in
  2004-01-20 22:43 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: in @ 2004-01-17 13:42 UTC (permalink / raw)
  To: linux-kernel

[PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1>

It just takes out the unused int! just takes of the warning when compiling!

--- 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;
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1>
  2004-01-17 13:42 [PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1> in
@ 2004-01-20 22:43 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-01-20 22:43 UTC (permalink / raw)
  To: in; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-20 22:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-17 13:42 [PATCH] <drivers/usb/storage/dpcm.c>, kernel <2.6.1> in
2004-01-20 22:43 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox