From: Sergio Paracuellos Date: Mon, 7 Nov 2016 17:55:19 +0000 (+0100) Subject: staging: wlan-ng: remove unnecessary out of memory message in p80211conv.c X-Git-Tag: v4.10-rc1~148^2~305 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0904f84a218e34823b3cfd3b8b0f5e8c5af714d3;p=karo-tx-linux.git staging: wlan-ng: remove unnecessary out of memory message in p80211conv.c This patch fix the following checkpatch script warning: WARNING: Possible unnecessary 'out of memory' message. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c index 5080d42245bb..8387e6a3031a 100644 --- a/drivers/staging/wlan-ng/p80211conv.c +++ b/drivers/staging/wlan-ng/p80211conv.c @@ -618,8 +618,6 @@ int p80211skb_rxmeta_attach(struct wlandevice *wlandev, struct sk_buff *skb) rxmeta = kzalloc(sizeof(*rxmeta), GFP_ATOMIC); if (!rxmeta) { - netdev_err(wlandev->netdev, - "%s: Failed to allocate rxmeta.\n", wlandev->name); result = 1; goto exit; }