aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/storage/ene_ub6250.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/storage/ene_ub6250.c b/drivers/usb/storage/ene_ub6250.c
index 058c5d5f1c1e..08e03745e251 100644
--- a/drivers/usb/storage/ene_ub6250.c
+++ b/drivers/usb/storage/ene_ub6250.c
@@ -491,10 +491,6 @@ static int ene_load_bincode(struct us_data *us, unsigned char flag)
491 if (info->BIN_FLAG == flag) 491 if (info->BIN_FLAG == flag)
492 return USB_STOR_TRANSPORT_GOOD; 492 return USB_STOR_TRANSPORT_GOOD;
493 493
494 buf = kmalloc(ENE_BIN_CODE_LEN, GFP_KERNEL);
495 if (buf == NULL)
496 return USB_STOR_TRANSPORT_ERROR;
497
498 switch (flag) { 494 switch (flag) {
499 /* For SD */ 495 /* For SD */
500 case SD_INIT1_PATTERN: 496 case SD_INIT1_PATTERN: