[PATCH 18/20] staging: wilc1000: remove multiple blank in host_int_remove_wep_key
Chaehyun Lim
chaehyun.lim at gmail.com
Mon Oct 5 10:35:02 UTC 2015
This patch removes multiple blank in host_int_remove_wep_key found by
checkpatch.
CHECK: Please don't use multiple blank lines
FILE: drivers/staging/wilc1000/host_interface.c:4299:
FILE: drivers/staging/wilc1000/host_interface.c:4309:
FILE: drivers/staging/wilc1000/host_interface.c:4315:
Signed-off-by: Chaehyun Lim <chaehyun.lim at gmail.com>
---
drivers/staging/wilc1000/host_interface.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index e284afb..6936bff 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -4296,7 +4296,6 @@ int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index)
int result = 0;
struct host_if_msg msg;
-
if (wfi_drv == NULL) {
result = -EFAULT;
PRINT_ER("Failed to send setup multicast config packet\n");
@@ -4306,14 +4305,11 @@ int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index)
/* prepare the Remove Wep Key Message */
memset(&msg, 0, sizeof(struct host_if_msg));
-
msg.id = HOST_IF_MSG_KEY;
msg.body.key_info.enuKeyType = WEP;
msg.body.key_info.u8KeyAction = REMOVEKEY;
msg.drvHandler = wfi_drv;
-
-
msg.body.key_info.
uniHostIFkeyAttr.strHostIFwepAttr.u8Wepidx = index;
--
2.6.0
More information about the devel
mailing list