diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-05-02 12:43:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-03 13:56:34 -0700 |
commit | e83d2fac784291d5bf72d44ea259aa501b6fda00 (patch) | |
tree | 9c6b91d831b6734d80f3e7ef191e8e58a5826491 /drivers/staging/wilc1000/host_interface.c | |
parent | staging: wilc1000: remove inner block in wilc_netdev_init() (diff) | |
download | linux-dev-e83d2fac784291d5bf72d44ea259aa501b6fda00.tar.xz linux-dev-e83d2fac784291d5bf72d44ea259aa501b6fda00.zip |
staging: wilc1000: remove unnecessary 'out of memory' message in handle_key()
Fix "Possible unnecessary 'out of memory' message" issue reported by
checkpatch.pl script.
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/host_interface.c')
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 67177766f2f5..d5ed484e0b82 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -1707,7 +1707,6 @@ out_wpa_rx_gtk: } else if (hif_key->action & ADDKEY) { key_buf = kmalloc(PTK_KEY_MSG_LEN, GFP_KERNEL); if (!key_buf) { - netdev_err(vif->ndev, "No buffer send PTK\n"); ret = -ENOMEM; goto out_wpa_ptk; } |