This patch fixes the following checkpatch.pl warnings: WARNING: Possible unnecessary 'out of memory' message #146: FILE: ./xlr_net.c:146: + if (!skb) { + pr_err("SKB allocation failed\n"); WARNING: Missing a blank line after declarations #1107: FILE: ./xlr_net.c:1107: + struct xlr_net_priv *priv = platform_get_drvdata(pdev); + unregister_netdev(priv->ndev);