]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: act_ct: Remove redundant ct get and check
authorRoi Dayan <roid@nvidia.com>
Wed, 28 Apr 2021 06:05:32 +0000 (09:05 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 Apr 2021 20:51:18 +0000 (13:51 -0700)
commit0d47fc92b20ed0ff3ef3470c220cc9651b2dceda
tree97d75f48b39ce288ddb84503229e8c76ce19b53a
parent0e650e45e976c2e4b04f2152e853ccf31a970744
net/sched: act_ct: Remove redundant ct get and check

The assignment is not being used and redundant.
The check for null is redundant as nf_conntrack_put() also
checks this.

Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Paul Blakey <paulb@nvidia.com>
Link: https://lore.kernel.org/r/20210428060532.3330974-1-roid@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/act_ct.c