net: broadcom: bcm4908enet: remove redundant variable bytes
authorColin Ian King <colin.i.king@gmail.com>
Wed, 22 Dec 2021 00:39:37 +0000 (00:39 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 22 Dec 2021 22:58:43 +0000 (14:58 -0800)
commit62a3106697f3c6f9af64a2cd0f9ff58552010dc8
tree9aec6ee9e57f937859d2082ee108bd22598d61fc
parent0092db5fac2284c1906072141b017eba6afe02c5
net: broadcom: bcm4908enet: remove redundant variable bytes

The variable bytes is being used to summate slot lengths,
however the value is never used afterwards. The summation
is redundant so remove variable bytes.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20211222003937.727325-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bcm4908_enet.c