Messages in this thread | | | Date | Thu, 14 Sep 2017 10:00:41 -0700 (PDT) | Subject | Re: [PATCH] tg3: clean up redundant initialization of tnapi | From | David Miller <> |
| |
From: Colin King <colin.king@canonical.com> Date: Thu, 14 Sep 2017 17:01:25 +0100
> From: Colin Ian King <colin.king@canonical.com> > > tnapi is being initialized and then immediately updated and > hence the initialiation is redundant. Clean up the warning > by moving the declaration and initialization to the inside > of the for-loop. > > Cleans up clang scan-build warning: > warning: Value stored to 'tnapi' during its initialization is never read > > Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied.
| |