summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorChaehyun Lim2015-10-05 04:07:22 +0200
committerGreg Kroah-Hartman2015-10-08 11:52:45 +0200
commit792fb25b1be8a61f623438abe40efcdbcb9597a3 (patch)
tree898689b63a988ea6f554d77118b14b12beab7330 /README
parentstaging: wilc1000: remove pstrWFIDrv in host_int_set_mac_chnl_num (diff)
downloadkernel-qcow2-linux-792fb25b1be8a61f623438abe40efcdbcb9597a3.tar.gz
kernel-qcow2-linux-792fb25b1be8a61f623438abe40efcdbcb9597a3.tar.xz
kernel-qcow2-linux-792fb25b1be8a61f623438abe40efcdbcb9597a3.zip
staging: wilc1000: return error code directly in host_int_set_mac_chnl_num
There is no need to pass the error code to the variable 'result'. Just return the error directly when error occurs. Return 0 at the end of this function when error is not happened. Suggested-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions