mirror of
https://github.com/torvalds/linux.git
synced 2024-11-30 16:11:38 +00:00
Staging: wilc1000: host_interface: Remove extra NULL test
Remove a NULL test on variable hif_drv as it is already preceded by one. Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b156f1ed16
commit
1a86f2a1b7
@ -3592,11 +3592,6 @@ s32 host_int_set_join_req(struct host_if_drv *hif_drv, u8 *pu8bssid,
|
||||
return s32Error;
|
||||
}
|
||||
|
||||
if (!hif_drv) {
|
||||
PRINT_ER("Driver is null\n");
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
if (pJoinParams == NULL) {
|
||||
PRINT_ER("Unable to Join - JoinParams is NULL\n");
|
||||
return -EFAULT;
|
||||
|
Loading…
Reference in New Issue
Block a user