diff options
author | Colin Ian King <[email protected]> | 2017-11-05 13:04:29 +0000 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2018-01-10 12:41:21 -0800 |
commit | 793c6f8c85d6d8cc6aa9cd68ee3552d2591f30e0 (patch) | |
tree | 89b76ed0d7424a97b79e027fc8bb8b0ef150e8d9 /net/unix/af_unix.c | |
parent | f2fc31efd697e2ff64023b717aca4db29de3a034 (diff) |
i40e: remove redundant initialization of read_size
Variable read_size is initialized and this value is never read, it is
instead set inside the do-loop, hence the initialization is redundant
and can be removed. Cleans up clang warning:
drivers/net/ethernet/intel/i40e/i40e_nvm.c:390:6: warning: Value stored
to 'read_size' during its initialization is never read
Signed-off-by: Colin Ian King <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions