staging: r8188eu: cleanups in rtw_android_set_block()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 31 Oct 2014 10:41:05 +0000 (13:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:22:50 +0000 (16:22 -0800)
commit85e1c554f4c80d1afec6069b4dad0a7bf6ce9b3d
treed8fbb315be59211b4ebc730cd202b7a9bdd36c69
parentd0915b2255bfbdd537fd6a52f9a0a7037ecbe2d5
staging: r8188eu: cleanups in rtw_android_set_block()

1) We can tighten up the code a little by returning directly and it
   makes the code more future proof and easier to read.
2) "free" is a better name than "exit".
3) sizeof(priv_cmd) is shorter and more clear than sizeof(struct
   android_wifi_priv_cmd).

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/rtw_android.c