mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drivers/net/usb/pegasus.c: remove in_atomic() check
Remove superfluous in-atomic() check; ethtool MII ops are called from task context. Signed-off-by: David Brownell <[email protected]> Cc: Greg KH <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
47df976c4e
commit
1424fd904c
1 changed files with 0 additions and 4 deletions
|
|
@ -1128,12 +1128,8 @@ pegasus_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd)
|
|||
{
|
||||
pegasus_t *pegasus;
|
||||
|
||||
if (in_atomic())
|
||||
return 0;
|
||||
|
||||
pegasus = netdev_priv(dev);
|
||||
mii_ethtool_gset(&pegasus->mii, ecmd);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue