diff options
author | Chaehyun Lim | 2015-10-05 04:07:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-08 11:52:45 +0200 |
commit | 792fb25b1be8a61f623438abe40efcdbcb9597a3 (patch) | |
tree | 898689b63a988ea6f554d77118b14b12beab7330 /Kconfig | |
parent | staging: wilc1000: remove pstrWFIDrv in host_int_set_mac_chnl_num (diff) | |
download | kernel-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 'Kconfig')
0 files changed, 0 insertions, 0 deletions