]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1ac441d46c8093f010d3898c8c11cab09d18d77
treefe1a3e329558327a95803936c00925e672c31241
parentfdbc13b1fb0ca0adee3890765319eaf7d5d6ff4d
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