diff options
author | 2020-07-18 20:53:38 +0800 | |
---|---|---|
committer | 2020-07-20 18:33:32 -0700 | |
commit | 2b96692bcfcd2be7c9aa55dc13440213cd54c654 (patch) | |
tree | 2897555f2ba464f17b71173cb7eaca97ad1a91fe /drivers/net/dsa/qca8k.h | |
parent | net/fealnx: switch from 'pci_' to 'dma_' API (diff) | |
download | wireguard-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