staging: octeon: remove redundant variable total_freed
authorColin Ian King <colin.i.king@gmail.com>
Thu, 20 Oct 2022 13:16:09 +0000 (14:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Oct 2022 15:48:40 +0000 (17:48 +0200)
commit404971602898ab3517b077be08f34eda4af0a482
tree34109d6a75c271308e18b1795fb99c97d1156b71
parent31760f04cae2019b6eb4617af4409d8eaf0ac7ac
staging: octeon: remove redundant variable total_freed

The variable total_freed is accumulating skb_to_free however it is not
being used after this. The use of total_freed is redundant and hence
the variable can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20221020131609.1546667-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-tx.c