USB: usb-storage: remove WARN from last-sector hacks
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 2 Feb 2009 14:51:01 +0000 (09:51 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Feb 2009 19:19:47 +0000 (11:19 -0800)
commit0d020aae0a154cffce680a7775c74788fa0bea92
treefe1a3e329558327a95803936c00925e672c31241
parent6b40c0057a7935bcf63a38a924094c7e61d4731f
USB: usb-storage: remove WARN from last-sector hacks

This patch (as1201) removes the WARN() from the last-sector hacks in
usb-storage, thereby making the code match the version now in
.27-stable and .28-stable.  The WARN() isn't needed, since there is no
longer any intention of assuming that all storage devices have an even
number of sectors, and it annoys users for no good reason.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/transport.c