]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: wilc1000: remove unnecessary parentheses in host_int_remove_wep_key
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 5 Oct 2015 10:35:04 +0000 (19:35 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Oct 2015 09:58:33 +0000 (10:58 +0100)
This patch removes unnecessary parentheses in host_int_remove_wep_key
found by checkpatch.

CHECK: Unnecessary parentheses around wfi_drv->hSemTestKeyBlock
FILE: drivers/staging/wilc1000/host_interface.c:4320:

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 917cdcc16fdefb5c2091f5debbe982831f72dd0f..80697232f7722f59b92b31c1c071efdc78e3449e 100644 (file)
@@ -4214,7 +4214,7 @@ int host_int_remove_wep_key(tstrWILC_WFIDrv *wfi_drv, u8 index)
        result = wilc_mq_send(&gMsgQHostIF, &msg, sizeof(struct host_if_msg));
        if (result)
                PRINT_ER("Error in sending message queue : Request to remove WEP key\n");
-       down(&(wfi_drv->hSemTestKeyBlock));
+       down(&wfi_drv->hSemTestKeyBlock);
 
        return result;
 }