patch-2.4.22 linux-2.4.22/drivers/usb/storage/sddr09.c

Next file: linux-2.4.22/drivers/usb/storage/transport.c
Previous file: linux-2.4.22/drivers/usb/storage/protocol.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/usb/storage/sddr09.c linux-2.4.22/drivers/usb/storage/sddr09.c
@@ -1504,7 +1504,6 @@
 	}
 }
 
-#if 0
 /*
  * It is unclear whether this does anything.
  * However, the request sense succeeds only after a reboot,
@@ -1512,6 +1511,7 @@
  */
 int
 sddr09_init(struct us_data *us) {
+#if 0
 	int result;
 	unsigned char data[2];
 
@@ -1550,9 +1550,9 @@
 		// additional transfer length * = sizeof(data) - 7
 	}
 #endif
+#endif
 	return USB_STOR_TRANSPORT_GOOD;		/* not result */
 }
-#endif
 
 /*
  * Transport for the Sandisk SDDR-09

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)