usb: storage: ene_ub6250: remove unused variable
Subsystems (2)
PATCH 1/1 usb: storage: ene_ub6250: remove unused variable
The variable Newblk was only being assigned some value but was never used after that.
--- drivers/usb/storage/ene_ub6250.c | 2 -- 1 file changed, 2 deletions(-)
drivers/usb/storage/ene_ub6250.c +0 -2
@@ -1364,7 +1364,6 @@ static int ms_lib_read_extra(struct us_data *us, u32 PhyBlock,static int ms_libsearch_block_from_physical (struct us_data *us,u16 phyblk) { -u16 Newblk;u16 blk;struct ms_lib_type_extdat extdat;/* need check */ struct ene_ub6250_info *info = (struct ene_ub6250_info *) us->extra;
@@ -1377,7 +1376,6 @@ static int ms_libsearch_block_from_physical(struct us_data *us, u16 phyblk)if ((blk &MS_PHYSICAL_BLOCKS_PER_SEGMENT_MASK ) ==0 ) blk -=MS_PHYSICAL_BLOCKS_PER_SEGMENT ; - Newblk = info->MS_Lib.Phy2LogMap[blk];if (info->MS_Lib.Phy2LogMap[blk] ==MS_LB_NOT_USED_ERASED ) {return blk; }else if (info->MS_Lib.Phy2LogMap[blk] ==MS_LB_NOT_USED ) {
Signature · 1 line
1.9.1
Greg Kroah-Hartman
maintainerQuoted 7 lines · Sudip Mukherjee
The variable Newblk was only being assigned some value but was never used after that.
Signed-off-by Sudip Mukherjee <[email protected]>--- drivers/usb/storage/ene_ub6250.c | 2 -- 1 file changed, 2 deletions(-)
from and signed-off-by does not match :(
Same with your other usb patch...
Quoted 4 lines · Greg Kroah-Hartman
Quoted 3 lines · Sudip Mukherjee
The variable Newblk was only being assigned some value but was never used after that.
Quoted 9 lines
Quoted 4 lines
Signed-off-by Sudip Mukherjee <[email protected]>--- drivers/usb/storage/ene_ub6250.c | 2 -- 1 file changed, 2 deletions(-)from and signed-off-by does not match :(
Same with your other usb patch...
I can add the From: tag in the patch. But this is from the last time we had this same conversation.
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-February/065121.html
Regards
Sudip
Greg Kroah-Hartman
maintainerQuoted 12 lines · Sudip Mukherjee
Quoted 11 lines · Greg Kroah-Hartman
Quoted 7 lines · Sudip Mukherjee
The variable Newblk was only being assigned some value but was never used after that.
Signed-off-by Sudip Mukherjee <[email protected]>--- drivers/usb/storage/ene_ub6250.c | 2 -- 1 file changed, 2 deletions(-)from and signed-off-by does not match :(
Quoted 7 lines
Quoted 2 lines
Same with your other usb patch...
I can add the From: tag in the patch. But this is from the last time we had this same conversation.
http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2015-February/065121.html
I can't remember an email thread from last week, or even yesterday, let alone from almost a year ago.
I suggest you fix your email server so we don't have the same conversation next week, or use the From: line in the patch which is what I am expecting people to do for crappy email servers like this. :)
thanks,
greg k-h