staging: wilc1000: remove pstrWFIDrv in host_int_set_mac_chnl_num
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 5 Oct 2015 02:07:21 +0000 (11:07 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:52:45 +0000 (10:52 +0100)
commit157da215b5312017889dc856e770c422db336aac
treecd2bda2bf7fe95b5a24be6d91263dbbdcd18fd71
parent367e8560e8d7a62d96e9b1d644028a3816e04206
staging: wilc1000: remove pstrWFIDrv in host_int_set_mac_chnl_num

This patch removes pstrWFIDrv variable in host_int_set_mac_chnl_num
function. There is no need to make another variable to check if first
arugment is NULL or not.
It is able to use wfi_drv directly that is first argument of
this function.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c