Staging: wilc1000: host_interface: Remove unnecessary NULL test
PATCH 1/1 Staging: wilc1000: host_interface: Remove unnecessary NULL test
Remove a NULL test on variable hif_drv as it is already preceded by one.
Signed-off-by Shivani Bhardwaj <[email protected]>
--- drivers/staging/wilc1000/host_interface.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/staging/wilc1000/host_interface.c +0 -5
@@ -4774,11 +4774,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 ;
Signature · 1 line
2.1.0
Greg KH
maintainerQuoted 6 lines · Shivani Bhardwaj
Remove a NULL test on variable
hif_drvas it is already preceded by one.Signed-off-by Shivani Bhardwaj <[email protected]>--- drivers/staging/wilc1000/host_interface.c | 5 ----- 1 file changed, 5 deletions(-)
Doesn't apply at all :(