From 4953ef658910416655cdb4b61618458aa11302ab Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Wed, 27 Aug 2014 22:58:48 +0200 Subject: [PATCH] usb: gadget: f_mass_storage: simplify start_transfer slightly Flatten the start_transfer function by reversing the if condition and returning early out of the function if everything went fine. It makes the function look less complicated, at least to me, and easier to understand. Signed-off-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-format-patch failed