mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
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 <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9546780b33
commit
0904f84a21
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user