staging: wilc1000: remove return statement

This patch removes return statement that is always returned 0.
wilc_setup_ipaddress can not run to the end due to return statement.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Chaehyun Lim 2015-12-30 21:15:40 +09:00 committed by Greg Kroah-Hartman
parent 6964f086e5
commit 0fd6fa3298

View file

@ -4644,8 +4644,6 @@ int wilc_setup_ipaddress(struct wilc_vif *vif, u8 *ip_addr, u8 idx)
struct host_if_msg msg;
struct host_if_drv *hif_drv = vif->hif_drv;
return 0;
if (!hif_drv) {
PRINT_ER("driver is null\n");
return -EFAULT;