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
1 changed files with 0 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue