aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/dsa/qca8k.h
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2020-07-18 20:53:38 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-20 18:33:32 -0700
commit2b96692bcfcd2be7c9aa55dc13440213cd54c654 (patch)
tree2897555f2ba464f17b71173cb7eaca97ad1a91fe /drivers/net/dsa/qca8k.h
parentnet/fealnx: switch from 'pci_' to 'dma_' API (diff)
downloadwireguard-linux-2b96692bcfcd2be7c9aa55dc13440213cd54c654.tar.xz
wireguard-linux-2b96692bcfcd2be7c9aa55dc13440213cd54c654.zip
net: hsr: remove redundant null check
Because kfree_skb already checked NULL skb parameter, so the additional checks are unnecessary, just remove them. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.h')
0 files changed, 0 insertions, 0 deletions