]> 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)
commit04a7bb165f6c529818765058761766c00165d674
treeabc7737862d7edbb69ca597f28fc52e2fb95034a
parent7026ac6e8a22d2dcbf26321d8ad998bb5f4d731b
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