USB: gadget: f_mass_storage: use ?: instead of a macro
authorMichal Nazarewicz <mina86@mina86.com>
Thu, 28 Oct 2010 15:31:20 +0000 (17:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Nov 2010 13:58:48 +0000 (05:58 -0800)
commit1ccd7923fe521273d63d936129754e71a33ebe51
treef374868afce3d2990fbf742b7e26750e3e230d86
parent17a936117c587c23aafafdb9cd6d433a90daa83d
USB: gadget: f_mass_storage: use ?: instead of a macro

This commit removes an "OR" macro defined in Mass Storage
Function in favour of a two argument version of "?:" operator
(which is a GCC extension).

Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_mass_storage.c