From: Peter Chen Date: Mon, 1 Dec 2014 08:09:29 +0000 (+0800) Subject: usb: gadget: u_uac1: fix one code style problem X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c76abecc42b63f70d33f9e266c62002c2b1234d1;p=openwrt%2Fstaging%2Fblogic.git usb: gadget: u_uac1: fix one code style problem Fix one code style problem. Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/function/u_uac1.c b/drivers/usb/gadget/function/u_uac1.c index 53842a1b947f..c78c84138a28 100644 --- a/drivers/usb/gadget/function/u_uac1.c +++ b/drivers/usb/gadget/function/u_uac1.c @@ -308,8 +308,7 @@ int gaudio_setup(struct gaudio *card) */ void gaudio_cleanup(struct gaudio *the_card) { - if (the_card) { + if (the_card) gaudio_close_snd_dev(the_card); - } }