projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b156f1e
)
Staging: wilc1000: host_interface: Remove extra NULL test
author
Shivani Bhardwaj
<
[email protected]
>
Tue, 13 Oct 2015 20:32:11 +0000
(
02:02
+0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 13 Oct 2015 21:34:45 +0000
(14:34 -0700)
Remove a NULL test on variable hif_drv as it is already preceded by one.
Signed-off-by: Shivani Bhardwaj <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/wilc1000/host_interface.c
patch
|
blob
|
history
diff --git
a/drivers/staging/wilc1000/host_interface.c
b/drivers/staging/wilc1000/host_interface.c
index 706b27d8803ef0f3e97368355aefffff50358464..04f3bc2ceaa3fa18fb27b1f4cd53ae1d9fa145cd 100644
(file)
--- a/
drivers/staging/wilc1000/host_interface.c
+++ b/
drivers/staging/wilc1000/host_interface.c
@@
-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;