]> git.baikalelectronics.ru Git - kernel.git/commit
Staging:wlan-ng:Merged two lines into one
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 8 Feb 2016 19:58:10 +0000 (01:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Feb 2016 01:43:09 +0000 (17:43 -0800)
commitf6caf4bce17efaf10e2bb9875f95e1d99c609de9
treed42d8d8cd36eca8d285b7b0a9e9a189ad51f509b
parentb4d4d824bd555a08ed3c9bbb3c20934c5e0e0187
Staging:wlan-ng:Merged two lines into one

The last two lines of these functions are compressed into one.
Also removed the variable ret as it is now not used.
Found using coccinelle:
@@
expression e, ret;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c