staging:wlan-ng: cleanup prism2sta_commsqual_defer and hfa384x_drvr_getconfig
authorDevendra Naga <devendra.aaru@gmail.com>
Sun, 9 Sep 2012 13:11:00 +0000 (18:41 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 22:42:52 +0000 (15:42 -0700)
commit102db1fc4a87668d0021395e6f7af996cf0c78d5
tree99ce8ad0a83d50c20573a539e7ffc812fe13a891
parent311e24fb1a654a260697793880979142fbbd185d
staging:wlan-ng: cleanup prism2sta_commsqual_defer and hfa384x_drvr_getconfig

the function prism2sta_commsqual_defer defines a goto done lable, which just
jumps to end of function, which we can achieve with out it

the hfa384x_drvr_getconfig doesn't need the result variable, we can
remove and just return the function

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c
drivers/staging/wlan-ng/prism2sta.c