diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-07-18 15:53:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-21 04:33:32 +0300 |
commit | 2b96692bcfcd2be7c9aa55dc13440213cd54c654 (patch) | |
tree | 2897555f2ba464f17b71173cb7eaca97ad1a91fe /init | |
parent | 405e30e23cb37c1a1cd521f41db89d2d93bd1e3b (diff) | |
download | linux-2b96692bcfcd2be7c9aa55dc13440213cd54c654.tar.xz |
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 'init')
0 files changed, 0 insertions, 0 deletions