net/sched: simplify tcf_pedit_act
authorPedro Tammela <pctammela@mojatatu.com>
Tue, 31 Jan 2023 19:05:12 +0000 (16:05 -0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 2 Feb 2023 12:19:02 +0000 (13:19 +0100)
commit95b069382351826c0ae37938070aa82dbeaf288d
treebf5cd078a06d420173ac9b292205b0b3876a5432
parent52cf89f78c01bf39973f3e70d366921d70faff7a
net/sched: simplify tcf_pedit_act

Remove the check for a negative number of keys as
this cannot ever happen

Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/sched/act_pedit.c