diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-05-09 00:14:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-08 22:45:54 -0700 |
commit | 4d2c99940825637d007da150ad03a6f4442de0f0 (patch) | |
tree | 5d4dce1680f21d916ddc4a61fa7c1f5807bf5a5b /usr | |
parent | 9dfff80280b63a37ca8db3d733d59a4e014d5051 (diff) | |
download | linux-4d2c99940825637d007da150ad03a6f4442de0f0.tar.gz linux-4d2c99940825637d007da150ad03a6f4442de0f0.tar.bz2 linux-4d2c99940825637d007da150ad03a6f4442de0f0.zip |
net: tg3: tidy up loop, remove need to compute off with a multiply
Currently the value for 'off' is computed using a multiplication and
a couple of statements later off is being incremented by len and
this value is never read. Clean up the code by removing the
multiplication and just increment off by len on each iteration.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions