commit | 5387c920372a3aaeb97b8b4721619ca9ff2a82ab | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Thu Sep 08 21:09:30 2016 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Sep 09 13:38:37 2016 +0300 |
tree | 949b40d3a47fb8af00dd7b386c27ab32a6e7a399 | |
parent | 2938fc63e0c26bf694436ac81bc776c8b7eced0c [diff] |
usb: gadget: remove variable ret and remove unnecessary if statement the if statement in lb_modinit is unnecessary so we can totally remove the variable ret and just return the return value from the call to usb_function_register. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>