From 0c694d829c5dfaf33dfcc47c6c2559f238de5978 Mon Sep 17 00:00:00 2001 From: Chaehyun Lim Date: Mon, 5 Oct 2015 19:35:02 +0900 Subject: [PATCH] staging: wilc1000: remove multiple blank in host_int_remove_wep_key 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 Signed-off-by: Greg Kroah-Hartman --- 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 1e465522d4e8..593d41aae18a 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -4193,7 +4193,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"); @@ -4203,14 +4202,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.34.1