aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAjay Singh <[email protected]>2018-05-02 12:43:28 +0530
committerGreg Kroah-Hartman <[email protected]>2018-05-03 13:56:34 -0700
commite83d2fac784291d5bf72d44ea259aa501b6fda00 (patch)
tree9c6b91d831b6734d80f3e7ef191e8e58a5826491
parent026e14ae3951d7ecb7af4e472d9c8dccf66e2f69 (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/wilc1000/host_interface.c1
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;
}