Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327706
b: refs/heads/master
c: 7bde852
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Aug 24, 2012
1 parent 9990ccb commit 1ecc8a6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7153f623ea47f3feb54209d75b80ed09a497cd4a
refs/heads/master: 7bde852afc88909d78e617b70d3e7a3dc6bc04ff
8 changes: 0 additions & 8 deletions trunk/drivers/net/ethernet/sfc/efx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1767,8 +1767,6 @@ static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd)
struct efx_nic *efx = netdev_priv(net_dev);
struct mii_ioctl_data *data = if_mii(ifr);

EFX_ASSERT_RESET_SERIALISED(efx);

/* Convert phy_id from older PRTAD/DEVAD format */
if ((cmd == SIOCGMIIREG || cmd == SIOCSMIIREG) &&
(data->phy_id & 0xfc00) == 0x0400)
Expand Down Expand Up @@ -1850,8 +1848,6 @@ static int efx_net_open(struct net_device *net_dev)
struct efx_nic *efx = netdev_priv(net_dev);
int rc;

EFX_ASSERT_RESET_SERIALISED(efx);

netif_dbg(efx, ifup, efx->net_dev, "opening device on CPU %d\n",
raw_smp_processor_id());

Expand Down Expand Up @@ -1946,8 +1942,6 @@ static int efx_change_mtu(struct net_device *net_dev, int new_mtu)
struct efx_nic *efx = netdev_priv(net_dev);
int rc;

EFX_ASSERT_RESET_SERIALISED(efx);

rc = efx_check_disabled(efx);
if (rc)
return rc;
Expand Down Expand Up @@ -1975,8 +1969,6 @@ static int efx_set_mac_address(struct net_device *net_dev, void *data)
struct sockaddr *addr = data;
char *new_addr = addr->sa_data;

EFX_ASSERT_RESET_SERIALISED(efx);

if (!is_valid_ether_addr(new_addr)) {
netif_err(efx, drv, efx->net_dev,
"invalid ethernet MAC address requested: %pM\n",
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/ethernet/sfc/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,6 @@ static void efx_ethtool_self_test(struct net_device *net_dev,
if (!efx_tests)
goto fail;


ASSERT_RTNL();
if (efx->state != STATE_READY) {
rc = -EIO;
goto fail1;
Expand Down

0 comments on commit 1ecc8a6

Please sign in to comment.