e1000e: Remove redundant statement
authorluo penghao <cgel.zte@gmail.com>
Mon, 18 Oct 2021 08:51:54 +0000 (08:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Oct 2021 11:48:40 +0000 (12:48 +0100)
commit1bd297988b75c0768e34e983b2a61a6d3dcda999
treeabc7737862d7edbb69ca597f28fc52e2fb95034a
parentf4e728ff9407757238eea953c449490d6d969fda
e1000e: Remove redundant statement

This assignment statement is meaningless, because the statement
will execute to the tag "set_itr_now".

The clang_analyzer complains as follows:

drivers/net/ethernet/intel/e1000e/netdev.c:2552:3 warning:

Value stored to 'current_itr' is never read.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000e/netdev.c