]> 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)
commit9a07315f4b93831a240b6a96348b6a16c8f3ef9e
tree97d75f48b39ce288ddb84503229e8c76ce19b53a
parent634815995355bfd1c98f2189e3fa1a16b332f9d4
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