]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc71a0f0ef749598d970f1164262a5814ec71601
treeabc7737862d7edbb69ca597f28fc52e2fb95034a
parent21fbc3ef616935712f0a48e4f1771c0551ab456c
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