commit | 85e1c554f4c80d1afec6069b4dad0a7bf6ce9b3d | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Oct 31 13:41:05 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 03 16:22:50 2014 -0800 |
tree | d8fbb315be59211b4ebc730cd202b7a9bdd36c69 | |
parent | d0915b2255bfbdd537fd6a52f9a0a7037ecbe2d5 [diff] |
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>