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)
commit9be02dd3858137f7bf83320568279eeda59faf01
tree97d75f48b39ce288ddb84503229e8c76ce19b53a
parente542d29ca81d005651680a0a697b72ca13ddc4cc
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