Skip to contentSkip to conversation

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

PATCH In review in 2 participants 2 messages Jan 17, 2004 – Jan 20, 2004

Subsystems (2)
lore
Share & tools
lore

in

author
#0 lore raw

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

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

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

drivers/usb/storage/dpcm.c 2004-01-17 13:22:49.000000000 +0000 renamed from drivers/usb/storage/dpcm.c 2003-12-18 02:59:15.000000000 +0000 +0 -2
@@ -43,8 +43,6 @@
  */
 int dpcm_transport(Scsi_Cmnd *srb, struct us_data *us)
 {
-  int ret;
-
   if(srb == NULL)
     return USB_STOR_TRANSPORT_ERROR;
 
#1 lore raw
Quoted 3 lines · in

[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 .

drivers/usb/storage/dpcm.c 2004-01-17 13:22:49.000000000 +0000 line 47

Quoted 10 lines
drivers/usb/storage/dpcm.c 2004-01-17 13:22:49.000000000 +0000 renamed from drivers/usb/storage/dpcm.c 2003-12-18 02:59:15.000000000 +0000 +0 -2
@@ -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

Signature · 4 lines
       "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