net/sched: cbs: remove redundant assignment to variable port_rate
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Sep 2019 18:26:37 +0000 (19:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 07:37:02 +0000 (09:37 +0200)
commit9367fa08415a6168f8ee2b5bb373362d75bfa860
tree9299d216d9efd5e2ec73c677f1277c0fb1cfb24b
parente7ac4ea0fefb06b2aeb7751e71c25cdfe751c07c
net/sched: cbs: remove redundant assignment to variable port_rate

Variable port_rate is being initialized with a value that is never read
and is being re-assigned a little later on. The assignment is redundant
and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbs.c