aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcmcia')
-rw-r--r--drivers/net/pcmcia/3c574_cs.c2
-rw-r--r--drivers/net/pcmcia/axnet_cs.c2
-rw-r--r--drivers/net/pcmcia/fmvj18x_cs.c2
-rw-r--r--drivers/net/pcmcia/ibmtr_cs.c2
-rw-r--r--drivers/net/pcmcia/nmclan_cs.c2
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c6
6 files changed, 0 insertions, 16 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c
index b6d9313cec00..29d288e7da93 100644
--- a/drivers/net/pcmcia/3c574_cs.c
+++ b/drivers/net/pcmcia/3c574_cs.c
@@ -622,8 +622,6 @@ static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value)
622 outw(MDIO_ENB_IN, mdio_addr); 622 outw(MDIO_ENB_IN, mdio_addr);
623 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); 623 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr);
624 } 624 }
625
626 return;
627} 625}
628 626
629/* Reset and restore all of the 3c574 registers. */ 627/* Reset and restore all of the 3c574 registers. */
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index a1a6b087e242..d605db28e6fa 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -1510,8 +1510,6 @@ static void ei_receive(struct net_device *dev)
1510 ei_local->current_page = next_frame; 1510 ei_local->current_page = next_frame;
1511 outb_p(next_frame-1, e8390_base+EN0_BOUNDARY); 1511 outb_p(next_frame-1, e8390_base+EN0_BOUNDARY);
1512 } 1512 }
1513
1514 return;
1515} 1513}
1516 1514
1517/** 1515/**
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c
index 16fc3e53c5cb..451a4548494d 100644
--- a/drivers/net/pcmcia/fmvj18x_cs.c
+++ b/drivers/net/pcmcia/fmvj18x_cs.c
@@ -1081,8 +1081,6 @@ static void fjn_rx(struct net_device *dev)
1081 "%d ticks.\n", dev->name, inb(ioaddr + RX_MODE), i); 1081 "%d ticks.\n", dev->name, inb(ioaddr + RX_MODE), i);
1082 } 1082 }
1083*/ 1083*/
1084
1085 return;
1086} /* fjn_rx */ 1084} /* fjn_rx */
1087 1085
1088/*====================================================================*/ 1086/*====================================================================*/
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/pcmcia/ibmtr_cs.c
index 37f4a6fdc3ef..3b0754b8ccd2 100644
--- a/drivers/net/pcmcia/ibmtr_cs.c
+++ b/drivers/net/pcmcia/ibmtr_cs.c
@@ -402,8 +402,6 @@ static void ibmtr_hw_setup(struct net_device *dev, u_int mmiobase)
402 402
403 /* 0x40 will release the card for use */ 403 /* 0x40 will release the card for use */
404 outb(0x40, dev->base_addr); 404 outb(0x40, dev->base_addr);
405
406 return;
407} 405}
408 406
409static struct pcmcia_device_id ibmtr_ids[] = { 407static struct pcmcia_device_id ibmtr_ids[] = {
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c
index ca4efd2871f3..89ba2f12e018 100644
--- a/drivers/net/pcmcia/nmclan_cs.c
+++ b/drivers/net/pcmcia/nmclan_cs.c
@@ -1313,8 +1313,6 @@ static void update_stats(unsigned int ioaddr, struct net_device *dev)
1313 lp->linux_stats.tx_fifo_errors = lp->mace_stats.uflo; 1313 lp->linux_stats.tx_fifo_errors = lp->mace_stats.uflo;
1314 lp->linux_stats.tx_heartbeat_errors = lp->mace_stats.cerr; 1314 lp->linux_stats.tx_heartbeat_errors = lp->mace_stats.cerr;
1315 /* lp->linux_stats.tx_window_errors; */ 1315 /* lp->linux_stats.tx_window_errors; */
1316
1317 return;
1318} /* update_stats */ 1316} /* update_stats */
1319 1317
1320/* ---------------------------------------------------------------------------- 1318/* ----------------------------------------------------------------------------
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index b5c62db251db..7da544c5fd5a 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -1239,7 +1239,6 @@ static void smc_hardware_send_packet(struct net_device * dev)
1239 dev_kfree_skb_irq(skb); 1239 dev_kfree_skb_irq(skb);
1240 dev->trans_start = jiffies; 1240 dev->trans_start = jiffies;
1241 netif_start_queue(dev); 1241 netif_start_queue(dev);
1242 return;
1243} 1242}
1244 1243
1245/*====================================================================*/ 1244/*====================================================================*/
@@ -1369,7 +1368,6 @@ static void smc_tx_err(struct net_device * dev)
1369 smc->packets_waiting--; 1368 smc->packets_waiting--;
1370 1369
1371 outw(saved_packet, ioaddr + PNR_ARR); 1370 outw(saved_packet, ioaddr + PNR_ARR);
1372 return;
1373} 1371}
1374 1372
1375/*====================================================================*/ 1373/*====================================================================*/
@@ -1589,8 +1587,6 @@ static void smc_rx(struct net_device *dev)
1589 } 1587 }
1590 /* Let the MMU free the memory of this packet. */ 1588 /* Let the MMU free the memory of this packet. */
1591 outw(MC_RELEASE, ioaddr + MMU_CMD); 1589 outw(MC_RELEASE, ioaddr + MMU_CMD);
1592
1593 return;
1594} 1590}
1595 1591
1596/*====================================================================== 1592/*======================================================================
@@ -1640,8 +1636,6 @@ static void set_rx_mode(struct net_device *dev)
1640 outw(rx_cfg_setting, ioaddr + RCR); 1636 outw(rx_cfg_setting, ioaddr + RCR);
1641 SMC_SELECT_BANK(2); 1637 SMC_SELECT_BANK(2);
1642 spin_unlock_irqrestore(&smc->lock, flags); 1638 spin_unlock_irqrestore(&smc->lock, flags);
1643
1644 return;
1645} 1639}
1646 1640
1647/*====================================================================== 1641/*======================================================================