|
@@ -676,7 +676,7 @@ forcedeth_open ( struct net_device *netdev )
|
676
|
676
|
{
|
677
|
677
|
struct forcedeth_private *priv = netdev_priv ( netdev );
|
678
|
678
|
void *ioaddr = priv->mmio_addr;
|
679
|
|
- int i, ret = 1;
|
|
679
|
+ int i;
|
680
|
680
|
int rc;
|
681
|
681
|
u32 low;
|
682
|
682
|
|
|
@@ -772,7 +772,7 @@ forcedeth_open ( struct net_device *netdev )
|
772
|
772
|
readl ( ioaddr + NvRegMIIStatus );
|
773
|
773
|
writel ( NVREG_MIISTAT_MASK_ALL, ioaddr + NvRegMIIStatus );
|
774
|
774
|
priv->linkspeed = 0;
|
775
|
|
- ret = nv_update_linkspeed ( priv );
|
|
775
|
+ nv_update_linkspeed ( priv );
|
776
|
776
|
nv_start_rx ( priv );
|
777
|
777
|
nv_start_tx ( priv );
|
778
|
778
|
|