[I/OAT]: Remove CPU hotplug lock from net_dma_rebalance

Remove the lock_cpu_hotplug()/unlock_cpu_hotplug() calls from
net_dma_rebalance

The lock_cpu_hotplug()/unlock_cpu_hotplug() sequence in
net_dma_rebalance is both incorrect (as pointed out by David Miller)
because lock_cpu_hotplug() may sleep while the net_dma_event_lock
spinlock is held, and unnecessary (as pointed out by Andrew Morton) as
spin_lock() disables preemption which protects from CPU hotplug
events.

Signed-off-by: Chris Leech <christopher.leech@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Chris Leech and committed by David S. Miller e6eb307d 9bbf28a1

-5
-5
net/core/dev.c
··· 3419 3419 unsigned int cpu, i, n; 3420 3420 struct dma_chan *chan; 3421 3421 3422 - lock_cpu_hotplug(); 3423 - 3424 3422 if (net_dma_count == 0) { 3425 3423 for_each_online_cpu(cpu) 3426 3424 rcu_assign_pointer(per_cpu(softnet_data.net_dma, cpu), NULL); 3427 - unlock_cpu_hotplug(); 3428 3425 return; 3429 3426 } 3430 3427 ··· 3441 3444 i++; 3442 3445 } 3443 3446 rcu_read_unlock(); 3444 - 3445 - unlock_cpu_hotplug(); 3446 3447 } 3447 3448 3448 3449 /**