mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 06:46:00 +07:00
e1000e: cleanup strict checkpatch check
CHECK: multiple assignments should be avoided Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
bc76329d4a
commit
06a402ef51
@ -1942,7 +1942,8 @@ static int e1000_set_coalesce(struct net_device *netdev,
|
||||
return -EINVAL;
|
||||
|
||||
if (ec->rx_coalesce_usecs == 4) {
|
||||
adapter->itr = adapter->itr_setting = 4;
|
||||
adapter->itr_setting = 4;
|
||||
adapter->itr = adapter->itr_setting;
|
||||
} else if (ec->rx_coalesce_usecs <= 3) {
|
||||
adapter->itr = 20000;
|
||||
adapter->itr_setting = ec->rx_coalesce_usecs;
|
||||
|
Loading…
Reference in New Issue
Block a user