drivers/net: Remove unnecessary returns from void function()s
This patch removes from drivers/net/ all the unnecessary return; statements that precede the last closing brace of void functions. It does not remove the returns that are immediately preceded by a label as gcc doesn't like that. It also does not remove null void functions with return. Done via: $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \ xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }' with some cleanups by hand. Compile tested x86 allmodconfig only. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
21ce849ba5
commit
a4b770972b
171 changed files with 0 additions and 631 deletions
|
@ -726,7 +726,6 @@ static void el_receive(struct net_device *dev)
|
|||
dev->stats.rx_packets++;
|
||||
dev->stats.rx_bytes += pkt_len;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -573,7 +573,6 @@ el2_block_output(struct net_device *dev, int count,
|
|||
}
|
||||
blocked:;
|
||||
outb_p(ei_status.interface_num==0 ? ECNTRL_THIN : ECNTRL_AUI, E33G_CNTRL);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Read the 4 byte, page aligned 8390 specific header. */
|
||||
|
@ -689,7 +688,6 @@ el2_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring
|
|||
}
|
||||
blocked:;
|
||||
outb_p(ei_status.interface_num == 0 ? ECNTRL_THIN : ECNTRL_AUI, E33G_CNTRL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -764,7 +764,6 @@ static void init_82586_mem(struct net_device *dev)
|
|||
if (net_debug > 4)
|
||||
pr_debug("%s: Initialized 82586, status %04x.\n", dev->name,
|
||||
readw(shmem+iSCB_STATUS));
|
||||
return;
|
||||
}
|
||||
|
||||
static void hardware_send_packet(struct net_device *dev, void *buf, short length, short pad)
|
||||
|
|
|
@ -1037,7 +1037,6 @@ static void update_stats(struct net_device *dev)
|
|||
/* Back to window 1, and turn statistics back on. */
|
||||
EL3WINDOW(1);
|
||||
outw(StatsEnable, ioaddr + EL3_CMD);
|
||||
return;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
@ -958,7 +958,6 @@ static void corkscrew_timer(unsigned long data)
|
|||
dev->name, media_tbl[dev->if_port].name);
|
||||
|
||||
#endif /* AUTOMEDIA */
|
||||
return;
|
||||
}
|
||||
|
||||
static void corkscrew_timeout(struct net_device *dev)
|
||||
|
@ -1516,7 +1515,6 @@ static void update_stats(int ioaddr, struct net_device *dev)
|
|||
|
||||
/* We change back to window 7 (not 1) with the Vortex. */
|
||||
EL3WINDOW(7);
|
||||
return;
|
||||
}
|
||||
|
||||
/* This new version of set_rx_mode() supports v1.4 kernels.
|
||||
|
|
|
@ -1855,7 +1855,6 @@ vortex_timer(unsigned long data)
|
|||
mod_timer(&vp->timer, RUN_AT(next_tick));
|
||||
if (vp->deferred)
|
||||
iowrite16(FakeIntr, ioaddr + EL3_CMD);
|
||||
return;
|
||||
}
|
||||
|
||||
static void vortex_tx_timeout(struct net_device *dev)
|
||||
|
@ -2798,7 +2797,6 @@ static void update_stats(void __iomem *ioaddr, struct net_device *dev)
|
|||
}
|
||||
|
||||
EL3WINDOW(old_window >> 13);
|
||||
return;
|
||||
}
|
||||
|
||||
static int vortex_nway_reset(struct net_device *dev)
|
||||
|
@ -3120,7 +3118,6 @@ static void mdio_write(struct net_device *dev, int phy_id, int location, int val
|
|||
iowrite16(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr);
|
||||
mdio_delay();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* ACPI: Advanced Configuration and Power Interface. */
|
||||
|
|
|
@ -619,7 +619,6 @@ static void lance_load_multicast (struct net_device *dev)
|
|||
crc = crc >> 26;
|
||||
mcast_table [crc >> 4] |= 1 << (crc & 0xf);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1224,8 +1224,6 @@ static void cp_tx_timeout(struct net_device *dev)
|
|||
netif_wake_queue(dev);
|
||||
|
||||
spin_unlock_irqrestore(&cp->lock, flags);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef BROKEN
|
||||
|
|
|
@ -627,7 +627,6 @@ static void lance_load_multicast (struct net_device *dev)
|
|||
crc = crc >> 26;
|
||||
mcast_table [crc >> 4] |= 1 << (crc & 0xf);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static void lance_set_multicast (struct net_device *dev)
|
||||
|
|
|
@ -307,8 +307,6 @@ static void ac_reset_8390(struct net_device *dev)
|
|||
ei_status.txing = 0;
|
||||
outb(AC_ENABLE, ioaddr + AC_RESET_PORT);
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* Grab the 8390 specific header. Similar to the block_input routine, but
|
||||
|
|
|
@ -2919,8 +2919,6 @@ static void __devinit ace_clear(struct ace_regs __iomem *regs, u32 dest, int siz
|
|||
dest += tsize;
|
||||
size -= tsize;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -521,7 +521,6 @@ apne_block_output(struct net_device *dev, int count,
|
|||
|
||||
outb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */
|
||||
ei_status.dmaing &= ~0x01;
|
||||
return;
|
||||
}
|
||||
|
||||
static irqreturn_t apne_interrupt(int irq, void *dev_id)
|
||||
|
|
|
@ -593,8 +593,6 @@ static void cops_load (struct net_device *dev)
|
|||
tangent_wait_reset(ioaddr);
|
||||
inb(ioaddr); /* Clear initial ready signal. */
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -701,8 +699,6 @@ static void cops_poll(unsigned long ltdev)
|
|||
/* poll 20 times per second */
|
||||
cops_timer.expires = jiffies + HZ/20;
|
||||
add_timer(&cops_timer);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -641,7 +641,6 @@ static void idle(struct net_device *dev)
|
|||
inb_p(base+7);
|
||||
inb_p(base+7);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -795,7 +795,6 @@ net_rx(struct net_device *dev)
|
|||
printk("%s: Exint Rx packet with mode %02x after %d ticks.\n",
|
||||
dev->name, inb(ioaddr + RX_MODE), i);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* The inverse routine to net_open(). */
|
||||
|
@ -869,7 +868,6 @@ set_rx_mode(struct net_device *dev)
|
|||
outw(saved_bank, ioaddr + CONFIG_0);
|
||||
}
|
||||
spin_unlock_irqrestore (&lp->lock, flags);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef MODULE
|
||||
|
|
|
@ -263,8 +263,6 @@ static void atl1c_get_wol(struct net_device *netdev,
|
|||
wol->wolopts |= WAKE_MAGIC;
|
||||
if (adapter->wol & AT_WUFC_LNKC)
|
||||
wol->wolopts |= WAKE_PHY;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int atl1c_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
||||
|
|
|
@ -317,8 +317,6 @@ static void atl1c_common_task(struct work_struct *work)
|
|||
|
||||
if (adapter->work_event & ATL1C_WORK_EVENT_LINK_CHANGE)
|
||||
atl1c_check_link_status(adapter);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -338,8 +338,6 @@ static void atl1e_get_wol(struct net_device *netdev,
|
|||
wol->wolopts |= WAKE_MAGIC;
|
||||
if (adapter->wol & AT_WUFC_LNKC)
|
||||
wol->wolopts |= WAKE_PHY;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int atl1e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
||||
|
|
|
@ -707,8 +707,6 @@ static void atl1e_init_ring_resources(struct atl1e_adapter *adapter)
|
|||
adapter->ring_vir_addr = NULL;
|
||||
adapter->rx_ring.desc = NULL;
|
||||
rwlock_init(&adapter->tx_ring.tx_lock);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -905,8 +903,6 @@ static inline void atl1e_configure_des_ring(const struct atl1e_adapter *adapter)
|
|||
AT_WRITE_REG(hw, REG_HOST_RXFPAGE_SIZE, rx_ring->page_size);
|
||||
/* Load all of base address above */
|
||||
AT_WRITE_REG(hw, REG_LOAD_PTR, 1);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void atl1e_configure_tx(struct atl1e_adapter *adapter)
|
||||
|
@ -950,7 +946,6 @@ static inline void atl1e_configure_tx(struct atl1e_adapter *adapter)
|
|||
(((u16)hw->tpd_burst & TXQ_CTRL_NUM_TPD_BURST_MASK)
|
||||
<< TXQ_CTRL_NUM_TPD_BURST_SHIFT)
|
||||
| TXQ_CTRL_ENH_MODE | TXQ_CTRL_EN);
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void atl1e_configure_rx(struct atl1e_adapter *adapter)
|
||||
|
@ -1004,7 +999,6 @@ static inline void atl1e_configure_rx(struct atl1e_adapter *adapter)
|
|||
RXQ_CTRL_CUT_THRU_EN | RXQ_CTRL_EN;
|
||||
|
||||
AT_WRITE_REG(hw, REG_RXQ_CTRL, rxq_ctrl_data);
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void atl1e_configure_dma(struct atl1e_adapter *adapter)
|
||||
|
@ -1024,7 +1018,6 @@ static inline void atl1e_configure_dma(struct atl1e_adapter *adapter)
|
|||
<< DMA_CTRL_DMAW_DLY_CNT_SHIFT;
|
||||
|
||||
AT_WRITE_REG(hw, REG_DMA_CTRL, dma_ctrl_data);
|
||||
return;
|
||||
}
|
||||
|
||||
static void atl1e_setup_mac_ctrl(struct atl1e_adapter *adapter)
|
||||
|
|
|
@ -1830,8 +1830,6 @@ static void atl1_rx_checksum(struct atl1_adapter *adapter,
|
|||
adapter->hw_csum_good++;
|
||||
return;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -3390,7 +3388,6 @@ static void atl1_get_wol(struct net_device *netdev,
|
|||
wol->wolopts = 0;
|
||||
if (adapter->wol & ATLX_WUFC_MAG)
|
||||
wol->wolopts |= WAKE_MAGIC;
|
||||
return;
|
||||
}
|
||||
|
||||
static int atl1_set_wol(struct net_device *netdev,
|
||||
|
|
|
@ -802,7 +802,6 @@ static void net_rx(struct net_device *dev)
|
|||
done:
|
||||
write_reg(ioaddr, CMR1, CMR1_NextPkt);
|
||||
lp->last_rx_time = jiffies;
|
||||
return;
|
||||
}
|
||||
|
||||
static void read_block(long ioaddr, int length, unsigned char *p, int data_mode)
|
||||
|
|
|
@ -303,7 +303,6 @@ static void ax_block_output(struct net_device *dev, int count,
|
|||
|
||||
ei_outb(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */
|
||||
ei_status.dmaing &= ~0x01;
|
||||
return;
|
||||
}
|
||||
|
||||
/* definitions for accessing MII/EEPROM interface */
|
||||
|
|
|
@ -276,8 +276,6 @@ be_get_ethtool_stats(struct net_device *netdev,
|
|||
data[i] = (et_stats[i].size == sizeof(u64)) ?
|
||||
*(u64 *)p: *(u32 *)p;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -466,7 +464,6 @@ be_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
|||
else
|
||||
wol->wolopts = 0;
|
||||
memset(&wol->sopass, 0, sizeof(wol->sopass));
|
||||
return;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
@ -830,7 +830,6 @@ static void skb_fill_rx_data(struct be_adapter *adapter,
|
|||
|
||||
done:
|
||||
be_rx_stats_update(adapter, pktsize, num_rcvd);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Process the RX completion indicated by rxcp when GRO is disabled */
|
||||
|
@ -884,8 +883,6 @@ static void be_rx_compl_process(struct be_adapter *adapter,
|
|||
} else {
|
||||
netif_receive_skb(skb);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* Process the RX completion indicated by rxcp when GRO is enabled */
|
||||
|
@ -965,7 +962,6 @@ static void be_rx_compl_process_gro(struct be_adapter *adapter,
|
|||
}
|
||||
|
||||
be_rx_stats_update(adapter, pkt_size, num_rcvd);
|
||||
return;
|
||||
}
|
||||
|
||||
static struct be_eth_rx_compl *be_rx_compl_get(struct be_adapter *adapter)
|
||||
|
@ -1059,8 +1055,6 @@ static void be_post_rx_frags(struct be_adapter *adapter)
|
|||
/* Let be_worker replenish when memory is available */
|
||||
adapter->rx_post_starved = true;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static struct be_eth_tx_compl *be_tx_compl_get(struct be_queue_info *tx_cq)
|
||||
|
@ -1622,7 +1616,6 @@ static void be_msix_enable(struct be_adapter *adapter)
|
|||
BE_NUM_MSIX_VECTORS);
|
||||
if (status == 0)
|
||||
adapter->msix_enabled = true;
|
||||
return;
|
||||
}
|
||||
|
||||
static void be_sriov_enable(struct be_adapter *adapter)
|
||||
|
@ -1634,7 +1627,6 @@ static void be_sriov_enable(struct be_adapter *adapter)
|
|||
adapter->sriov_enabled = status ? false : true;
|
||||
}
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
static void be_sriov_disable(struct be_adapter *adapter)
|
||||
|
@ -1741,7 +1733,6 @@ static void be_irq_unregister(struct be_adapter *adapter)
|
|||
be_free_irq(adapter, &adapter->rx_eq);
|
||||
done:
|
||||
adapter->isr_registered = false;
|
||||
return;
|
||||
}
|
||||
|
||||
static int be_open(struct net_device *netdev)
|
||||
|
@ -2620,8 +2611,6 @@ static void be_shutdown(struct pci_dev *pdev)
|
|||
be_setup_wol(adapter, true);
|
||||
|
||||
pci_disable_device(pdev);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static pci_ers_result_t be_eeh_err_detected(struct pci_dev *pdev,
|
||||
|
@ -2703,7 +2692,6 @@ static void be_eeh_resume(struct pci_dev *pdev)
|
|||
return;
|
||||
err:
|
||||
dev_err(&adapter->pdev->dev, "EEH resume failed\n");
|
||||
return;
|
||||
}
|
||||
|
||||
static struct pci_error_handlers be_eeh_handlers = {
|
||||
|
|
|
@ -835,8 +835,6 @@ static void bfin_mac_multicast_hash(struct net_device *dev)
|
|||
|
||||
bfin_write_EMAC_HASHHI(emac_hashhi);
|
||||
bfin_write_EMAC_HASHLO(emac_hashlo);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -167,7 +167,6 @@ static inline void
|
|||
dbdma_st32(volatile __u32 __iomem *a, unsigned long x)
|
||||
{
|
||||
__asm__ volatile( "stwbrx %0,0,%1" : : "r" (x), "r" (a) : "memory");
|
||||
return;
|
||||
}
|
||||
|
||||
static inline unsigned long
|
||||
|
@ -382,8 +381,6 @@ bmac_init_registers(struct net_device *dev)
|
|||
bmwrite(dev, RXCFG, RxCRCNoStrip | RxHashFilterEnable | RxRejectOwnPackets);
|
||||
|
||||
bmwrite(dev, INTDISABLE, EnableNormal);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
|
|
@ -300,8 +300,6 @@ static void ems_usb_read_interrupt_callback(struct urb *urb)
|
|||
else if (err)
|
||||
dev_err(netdev->dev.parent,
|
||||
"failed resubmitting intr urb: %d\n", err);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void ems_usb_rx_can_msg(struct ems_usb *dev, struct ems_cpc_msg *msg)
|
||||
|
@ -497,8 +495,6 @@ static void ems_usb_read_bulk_callback(struct urb *urb)
|
|||
else if (retval)
|
||||
dev_err(netdev->dev.parent,
|
||||
"failed resubmitting read bulk urb: %d\n", retval);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -2092,7 +2092,6 @@ static void service_kcqes(struct cnic_dev *dev, int num_cqes)
|
|||
i += j;
|
||||
j = 1;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static u16 cnic_bnx2_next_idx(u16 idx)
|
||||
|
@ -2325,7 +2324,6 @@ static void cnic_service_bnx2x_bh(unsigned long data)
|
|||
status_idx, IGU_INT_ENABLE, 1);
|
||||
|
||||
cp->kcq_prod_idx = sw_prod;
|
||||
return;
|
||||
}
|
||||
|
||||
static int cnic_service_bnx2x(void *data, void *status_blk)
|
||||
|
@ -4628,7 +4626,6 @@ static void __exit cnic_exit(void)
|
|||
{
|
||||
unregister_netdevice_notifier(&cnic_netdev_notifier);
|
||||
cnic_release();
|
||||
return;
|
||||
}
|
||||
|
||||
module_init(cnic_init);
|
||||
|
|
|
@ -902,7 +902,6 @@ get_dma_channel(struct net_device *dev)
|
|||
return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1672,7 +1671,6 @@ count_rx_errors(int status, struct net_local *lp)
|
|||
/* per str 172 */
|
||||
lp->stats.rx_crc_errors++;
|
||||
if (status & RX_DRIBBLE) lp->stats.rx_frame_errors++;
|
||||
return;
|
||||
}
|
||||
|
||||
/* We have a good packet(s), get it/them out of the buffers. */
|
||||
|
|
|
@ -207,7 +207,6 @@ void t3_l2t_send_event(struct t3cdev *dev, struct l2t_entry *e)
|
|||
*/
|
||||
neigh_event_send(e->neigh, NULL);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(t3_l2t_send_event);
|
||||
|
|
|
@ -969,7 +969,6 @@ static void lance_load_multicast(struct net_device *dev)
|
|||
crc = crc >> 26;
|
||||
*lib_ptr(ib, filter[crc >> 4], lp->type) |= 1 << (crc & 0xf);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static void lance_set_multicast(struct net_device *dev)
|
||||
|
|
|
@ -1203,8 +1203,6 @@ static void LoadCSRs(struct net_device *dev)
|
|||
outw(ACON, DEPCA_DATA);
|
||||
|
||||
outw(CSR0, DEPCA_ADDR); /* Point back to CSR0 */
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int InitRestartDepca(struct net_device *dev)
|
||||
|
@ -1302,8 +1300,6 @@ static void SetMulticastFilter(struct net_device *dev)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int __init depca_common_init (u_long ioaddr, struct net_device **devp)
|
||||
|
@ -1908,8 +1904,6 @@ static void depca_dbg_open(struct net_device *dev)
|
|||
outw(CSR3, DEPCA_ADDR);
|
||||
printk("CSR3: 0x%4.4x\n", inw(DEPCA_DATA));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -596,8 +596,6 @@ alloc_list (struct net_device *dev)
|
|||
/* Set RFDListPtr */
|
||||
writel (np->rx_ring_dma, dev->base_addr + RFDListPtr0);
|
||||
writel (0, dev->base_addr + RFDListPtr1);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static netdev_tx_t
|
||||
|
|
|
@ -1015,8 +1015,6 @@ static void e1000_free_desc_rings(struct e1000_adapter *adapter)
|
|||
txdr->buffer_info = NULL;
|
||||
kfree(rxdr->buffer_info);
|
||||
rxdr->buffer_info = NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int e1000_setup_desc_rings(struct e1000_adapter *adapter)
|
||||
|
@ -1711,8 +1709,6 @@ static void e1000_get_wol(struct net_device *netdev,
|
|||
wol->wolopts |= WAKE_BCAST;
|
||||
if (adapter->wol & E1000_WUFC_MAG)
|
||||
wol->wolopts |= WAKE_MAGIC;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int e1000_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
||||
|
|
|
@ -2546,8 +2546,6 @@ static void e1000_set_itr(struct e1000_adapter *adapter)
|
|||
adapter->itr = new_itr;
|
||||
ew32(ITR, 1000000000 / (new_itr * 256));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#define E1000_TX_FLAGS_CSUM 0x00000001
|
||||
|
|
|
@ -1148,8 +1148,6 @@ static void e1000_initialize_hw_bits_82571(struct e1000_hw *hw)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1653,8 +1651,6 @@ static void e1000_power_down_phy_copper_82571(struct e1000_hw *hw)
|
|||
/* If the management interface is not enabled, then power down */
|
||||
if (!(mac->ops.check_mng_mode(hw) || phy->ops.check_reset_block(hw)))
|
||||
e1000_power_down_phy_copper(hw);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1383,8 +1383,6 @@ static void e1000_power_down_phy_copper_80003es2lan(struct e1000_hw *hw)
|
|||
if (!(hw->mac.ops.check_mng_mode(hw) ||
|
||||
hw->phy.ops.check_reset_block(hw)))
|
||||
e1000_power_down_phy_copper(hw);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -690,8 +690,6 @@ static s32 e1000_acquire_nvm_ich8lan(struct e1000_hw *hw)
|
|||
static void e1000_release_nvm_ich8lan(struct e1000_hw *hw)
|
||||
{
|
||||
mutex_unlock(&nvm_mutex);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static DEFINE_MUTEX(swflag_mutex);
|
||||
|
@ -770,8 +768,6 @@ static void e1000_release_swflag_ich8lan(struct e1000_hw *hw)
|
|||
ew32(EXTCNF_CTRL, extcnf_ctrl);
|
||||
|
||||
mutex_unlock(&swflag_mutex);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2756,8 +2752,6 @@ static void e1000_initialize_hw_bits_ich8lan(struct e1000_hw *hw)
|
|||
reg = er32(RFCTL);
|
||||
reg |= (E1000_RFCTL_NFSW_DIS | E1000_RFCTL_NFSR_DIS);
|
||||
ew32(RFCTL, reg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3137,8 +3131,6 @@ void e1000e_disable_gig_wol_ich8lan(struct e1000_hw *hw)
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3347,8 +3339,6 @@ static void e1000_power_down_phy_copper_ich8lan(struct e1000_hw *hw)
|
|||
if (!(hw->mac.ops.check_mng_mode(hw) ||
|
||||
hw->phy.ops.check_reset_block(hw)))
|
||||
e1000_power_down_phy_copper(hw);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1767,8 +1767,6 @@ void e1000e_reset_interrupt_capability(struct e1000_adapter *adapter)
|
|||
pci_disable_msi(adapter->pdev);
|
||||
adapter->flags &= ~FLAG_MSI_ENABLED;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1820,8 +1818,6 @@ void e1000e_set_interrupt_capability(struct e1000_adapter *adapter)
|
|||
/* Don't do anything; this is the system default */
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -328,7 +328,6 @@ e21_reset_8390(struct net_device *dev)
|
|||
/* Set up the ASIC registers, just in case something changed them. */
|
||||
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Grab the 8390 specific header. We put the 2k window so the header page
|
||||
|
|
|
@ -1570,7 +1570,6 @@ static void eexp_hw_init586(struct net_device *dev)
|
|||
#if NET_DEBUG > 6
|
||||
printk("%s: leaving eexp_hw_init586()\n", dev->name);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
static void eexp_setup_filter(struct net_device *dev)
|
||||
|
|
|
@ -1881,7 +1881,6 @@ static void ehea_promiscuous(struct net_device *dev, int enable)
|
|||
port->promisc = enable;
|
||||
out:
|
||||
free_page((unsigned long)cb7);
|
||||
return;
|
||||
}
|
||||
|
||||
static u64 ehea_multicast_reg_helper(struct ehea_port *port, u64 mc_mac_addr,
|
||||
|
@ -2025,7 +2024,6 @@ static void ehea_set_multicast_list(struct net_device *dev)
|
|||
}
|
||||
out:
|
||||
ehea_update_bcmc_registrations();
|
||||
return;
|
||||
}
|
||||
|
||||
static int ehea_change_mtu(struct net_device *dev, int new_mtu)
|
||||
|
@ -2338,7 +2336,6 @@ static void ehea_vlan_rx_kill_vid(struct net_device *dev, unsigned short vid)
|
|||
ehea_error("modify_ehea_port failed");
|
||||
out:
|
||||
free_page((unsigned long)cb1);
|
||||
return;
|
||||
}
|
||||
|
||||
int ehea_activate_qp(struct ehea_adapter *adapter, struct ehea_qp *qp)
|
||||
|
@ -2881,7 +2878,6 @@ static void ehea_reset_port(struct work_struct *work)
|
|||
netif_wake_queue(dev);
|
||||
out:
|
||||
mutex_unlock(&port->port_lock);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ehea_rereg_mrs(struct work_struct *work)
|
||||
|
|
|
@ -652,7 +652,6 @@ static void mdio_write(struct net_device *dev, int phy_id, int loc, int value)
|
|||
if ((inl(ioaddr + MIICtrl) & MII_WRITEOP) == 0)
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -840,7 +839,6 @@ static void epic_restart(struct net_device *dev)
|
|||
" interrupt %4.4x.\n",
|
||||
dev->name, (int)inl(ioaddr + COMMAND), (int)inl(ioaddr + GENCTL),
|
||||
(int)inl(ioaddr + INTSTAT));
|
||||
return;
|
||||
}
|
||||
|
||||
static void check_media(struct net_device *dev)
|
||||
|
@ -958,7 +956,6 @@ static void epic_init_ring(struct net_device *dev)
|
|||
(i+1)*sizeof(struct epic_tx_desc);
|
||||
}
|
||||
ep->tx_ring[i-1].next = ep->tx_ring_dma;
|
||||
return;
|
||||
}
|
||||
|
||||
static netdev_tx_t epic_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
|
@ -1413,7 +1410,6 @@ static void set_rx_mode(struct net_device *dev)
|
|||
outw(((u16 *)mc_filter)[i], ioaddr + MC0 + i*4);
|
||||
memcpy(ep->mc_filter, mc_filter, sizeof(mc_filter));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static void netdev_get_drvinfo (struct net_device *dev, struct ethtool_drvinfo *info)
|
||||
|
|
|
@ -319,8 +319,6 @@ static void es_reset_8390(struct net_device *dev)
|
|||
ei_status.txing = 0;
|
||||
outb(0x01, ioaddr + ES_RESET_PORT);
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1369,8 +1369,6 @@ static void __init EthwrkSignature(char *name, char *eeprom_image)
|
|||
name[EWRK3_STRLEN] = '\0';
|
||||
} else
|
||||
name[0] = '\0';
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -3009,8 +3009,6 @@ static void gfar_set_multi(struct net_device *dev)
|
|||
gfar_set_hash_for_addr(dev, ha->addr);
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -3051,8 +3049,6 @@ static void gfar_set_hash_for_addr(struct net_device *dev, u8 *addr)
|
|||
tempval = gfar_read(priv->hash_regs[whichreg]);
|
||||
tempval |= value;
|
||||
gfar_write(priv->hash_regs[whichreg], tempval);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -859,7 +859,6 @@ static void mdio_write(struct net_device *dev, int phy_id, int location, int val
|
|||
for (i = 10000; i >= 0; i--)
|
||||
if ((readw(ioaddr + MII_Status) & 1) == 0)
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1225,8 +1224,6 @@ static void hamachi_init_ring(struct net_device *dev)
|
|||
}
|
||||
/* Mark the last entry of the ring */
|
||||
hmp->tx_ring[TX_RING_SIZE-1].status_n_length |= cpu_to_le32(DescEndRing);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1629,7 +1629,6 @@ static void scc_net_rx(struct scc_channel *scc, struct sk_buff *skb)
|
|||
skb->protocol = ax25_type_trans(skb, scc->dev);
|
||||
|
||||
netif_rx(skb);
|
||||
return;
|
||||
}
|
||||
|
||||
/* ----> transmit frame <---- */
|
||||
|
|
|
@ -351,7 +351,6 @@ hpp_reset_8390(struct net_device *dev)
|
|||
printk("%s: hp_reset_8390() did not complete.\n", dev->name);
|
||||
|
||||
if (ei_debug > 1) printk("8390 reset done (%ld).", jiffies);
|
||||
return;
|
||||
}
|
||||
|
||||
/* The programmed-I/O version of reading the 4 byte 8390 specific header.
|
||||
|
@ -422,7 +421,6 @@ hpp_io_block_output(struct net_device *dev, int count,
|
|||
int ioaddr = dev->base_addr - NIC_OFFSET;
|
||||
outw(start_page << 8, ioaddr + HPP_OUT_ADDR);
|
||||
outsl(ioaddr + HP_DATAPORT, buf, (count+3)>>2);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -436,8 +434,6 @@ hpp_mem_block_output(struct net_device *dev, int count,
|
|||
outw(option_reg & ~(MemDisable + BootROMEnb), ioaddr + HPP_OPTION);
|
||||
memcpy_toio(ei_status.mem, buf, (count + 3) & ~3);
|
||||
outw(option_reg, ioaddr + HPP_OPTION);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -240,7 +240,6 @@ hp_reset_8390(struct net_device *dev)
|
|||
printk("%s: hp_reset_8390() did not complete.\n", dev->name);
|
||||
|
||||
if (ei_debug > 1) printk("8390 reset done (%ld).", jiffies);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -360,7 +359,6 @@ hp_block_output(struct net_device *dev, int count,
|
|||
dev->name, (start_page << 8) + count, addr);
|
||||
}
|
||||
outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE);
|
||||
return;
|
||||
}
|
||||
|
||||
/* This function resets the ethercard if something screws up. */
|
||||
|
@ -371,7 +369,6 @@ hp_init_card(struct net_device *dev)
|
|||
NS8390p_init(dev, 0);
|
||||
outb_p(irqmap[irq&0x0f] | HP_RUN,
|
||||
dev->base_addr - NIC_OFFSET + HP_CONFIGURE);
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef MODULE
|
||||
|
|
|
@ -1421,7 +1421,6 @@ static void ibmveth_proc_register_adapter(struct ibmveth_adapter *adapter)
|
|||
if (!entry)
|
||||
ibmveth_error_printk("Cannot create adapter proc entry");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
static void ibmveth_proc_unregister_adapter(struct ibmveth_adapter *adapter)
|
||||
|
|
|
@ -1214,8 +1214,6 @@ void igb_power_down_phy_copper_82575(struct e1000_hw *hw)
|
|||
/* If the management interface is not enabled, then power down */
|
||||
if (!(igb_enable_mng_pass_thru(hw) || igb_check_reset_block(hw)))
|
||||
igb_power_down_phy_copper(hw);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1054,7 +1054,6 @@ static void igb_set_interrupt_capability(struct igb_adapter *adapter)
|
|||
out:
|
||||
/* Notify the stack of the (possibly) reduced Tx Queue count. */
|
||||
adapter->netdev->real_num_tx_queues = adapter->num_tx_queues;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -3717,8 +3716,6 @@ static void igb_set_itr(struct igb_adapter *adapter)
|
|||
q_vector->itr_val = new_itr;
|
||||
q_vector->set_itr = 1;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
#define IGB_TX_FLAGS_CSUM 0x00000001
|
||||
|
|
|
@ -390,8 +390,6 @@ static void igbvf_get_wol(struct net_device *netdev,
|
|||
{
|
||||
wol->supported = 0;
|
||||
wol->wolopts = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int igbvf_set_wol(struct net_device *netdev,
|
||||
|
|
|
@ -434,8 +434,6 @@ static void mcs_unwrap_mir(struct mcs_cb *mcs, __u8 *buf, int len)
|
|||
|
||||
mcs->netdev->stats.rx_packets++;
|
||||
mcs->netdev->stats.rx_bytes += new_len;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* Unwrap received packets at FIR speed. A 32 bit crc_ccitt checksum is
|
||||
|
@ -487,8 +485,6 @@ static void mcs_unwrap_fir(struct mcs_cb *mcs, __u8 *buf, int len)
|
|||
|
||||
mcs->netdev->stats.rx_packets++;
|
||||
mcs->netdev->stats.rx_bytes += new_len;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2822,7 +2822,6 @@ static void __init preconfigure_ali_port(struct pci_dev *dev,
|
|||
tmpbyte |= mask;
|
||||
pci_write_config_byte(dev, reg, tmpbyte);
|
||||
IRDA_MESSAGE("Activated ALi 1533 ISA bridge port 0x%04x.\n", port);
|
||||
return;
|
||||
}
|
||||
|
||||
static int __init preconfigure_through_ali(struct pci_dev *dev,
|
||||
|
|
|
@ -58,7 +58,6 @@ ixgb_raise_clock(struct ixgb_hw *hw,
|
|||
*eecd_reg = *eecd_reg | IXGB_EECD_SK;
|
||||
IXGB_WRITE_REG(hw, EECD, *eecd_reg);
|
||||
udelay(50);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -77,7 +76,6 @@ ixgb_lower_clock(struct ixgb_hw *hw,
|
|||
*eecd_reg = *eecd_reg & ~IXGB_EECD_SK;
|
||||
IXGB_WRITE_REG(hw, EECD, *eecd_reg);
|
||||
udelay(50);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -127,7 +125,6 @@ ixgb_shift_out_bits(struct ixgb_hw *hw,
|
|||
/* We leave the "DI" bit set to "0" when we leave this routine. */
|
||||
eecd_reg &= ~IXGB_EECD_DI;
|
||||
IXGB_WRITE_REG(hw, EECD, eecd_reg);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -192,7 +189,6 @@ ixgb_setup_eeprom(struct ixgb_hw *hw)
|
|||
/* Set CS */
|
||||
eecd_reg |= IXGB_EECD_CS;
|
||||
IXGB_WRITE_REG(hw, EECD, eecd_reg);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -226,7 +222,6 @@ ixgb_standby_eeprom(struct ixgb_hw *hw)
|
|||
eecd_reg &= ~IXGB_EECD_SK;
|
||||
IXGB_WRITE_REG(hw, EECD, eecd_reg);
|
||||
udelay(50);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -250,7 +245,6 @@ ixgb_clock_eeprom(struct ixgb_hw *hw)
|
|||
eecd_reg &= ~IXGB_EECD_SK;
|
||||
IXGB_WRITE_REG(hw, EECD, eecd_reg);
|
||||
udelay(50);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -270,7 +264,6 @@ ixgb_cleanup_eeprom(struct ixgb_hw *hw)
|
|||
IXGB_WRITE_REG(hw, EECD, eecd_reg);
|
||||
|
||||
ixgb_clock_eeprom(hw);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -359,7 +352,6 @@ ixgb_update_eeprom_checksum(struct ixgb_hw *hw)
|
|||
checksum = (u16) EEPROM_SUM - checksum;
|
||||
|
||||
ixgb_write_eeprom(hw, EEPROM_CHECKSUM_REG, checksum);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -414,8 +406,6 @@ ixgb_write_eeprom(struct ixgb_hw *hw, u16 offset, u16 data)
|
|||
|
||||
/* clear the init_ctrl_reg_1 to signify that the cache is invalidated */
|
||||
ee_map->init_ctrl_reg_1 = cpu_to_le16(EEPROM_ICW1_SIGNATURE_CLEAR);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
|
|
@ -413,8 +413,6 @@ ixgb_init_rx_addrs(struct ixgb_hw *hw)
|
|||
IXGB_WRITE_REG_ARRAY(hw, RA, ((i << 1) + 1), 0);
|
||||
IXGB_WRITE_REG_ARRAY(hw, RA, (i << 1), 0);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -483,7 +481,6 @@ ixgb_mc_addr_list_update(struct ixgb_hw *hw,
|
|||
}
|
||||
|
||||
pr_debug("MC Update Complete\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -566,8 +563,6 @@ ixgb_mta_set(struct ixgb_hw *hw,
|
|||
mta_reg |= (1 << hash_bit);
|
||||
|
||||
IXGB_WRITE_REG_ARRAY(hw, MTA, hash_reg, mta_reg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -600,7 +595,6 @@ ixgb_rar_set(struct ixgb_hw *hw,
|
|||
|
||||
IXGB_WRITE_REG_ARRAY(hw, RA, (index << 1), rar_low);
|
||||
IXGB_WRITE_REG_ARRAY(hw, RA, ((index << 1) + 1), rar_high);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -616,7 +610,6 @@ ixgb_write_vfta(struct ixgb_hw *hw,
|
|||
u32 value)
|
||||
{
|
||||
IXGB_WRITE_REG_ARRAY(hw, VFTA, offset, value);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -631,7 +624,6 @@ ixgb_clear_vfta(struct ixgb_hw *hw)
|
|||
|
||||
for (offset = 0; offset < IXGB_VLAN_FILTER_TBL_SIZE; offset++)
|
||||
IXGB_WRITE_REG_ARRAY(hw, VFTA, offset, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -1050,7 +1042,6 @@ ixgb_clear_hw_cntrs(struct ixgb_hw *hw)
|
|||
temp_reg = IXGB_READ_REG(hw, XOFFRXC);
|
||||
temp_reg = IXGB_READ_REG(hw, XOFFTXC);
|
||||
temp_reg = IXGB_READ_REG(hw, RJC);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -1066,7 +1057,6 @@ ixgb_led_on(struct ixgb_hw *hw)
|
|||
/* To turn on the LED, clear software-definable pin 0 (SDP0). */
|
||||
ctrl0_reg &= ~IXGB_CTRL0_SDP0;
|
||||
IXGB_WRITE_REG(hw, CTRL0, ctrl0_reg);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -1082,7 +1072,6 @@ ixgb_led_off(struct ixgb_hw *hw)
|
|||
/* To turn off the LED, set software-definable pin 0 (SDP0). */
|
||||
ctrl0_reg |= IXGB_CTRL0_SDP0;
|
||||
IXGB_WRITE_REG(hw, CTRL0, ctrl0_reg);
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -1122,8 +1111,6 @@ ixgb_get_bus_info(struct ixgb_hw *hw)
|
|||
|
||||
hw->bus.width = (status_reg & IXGB_STATUS_BUS64) ?
|
||||
ixgb_bus_width_64 : ixgb_bus_width_32;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -1210,8 +1197,6 @@ ixgb_optics_reset(struct ixgb_hw *hw)
|
|||
IXGB_PHY_ADDRESS,
|
||||
MDIO_MMD_PMAPMD);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
@ -1272,6 +1257,4 @@ ixgb_optics_reset_bcm(struct ixgb_hw *hw)
|
|||
|
||||
/* SerDes needs extra delay */
|
||||
msleep(IXGB_SUN_PHY_RESET_DELAY);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -488,7 +488,6 @@ static void ixgbe_dcbnl_setpfcstate(struct net_device *netdev, u8 state)
|
|||
if (adapter->temp_dcb_cfg.pfc_mode_enable !=
|
||||
adapter->dcb_cfg.pfc_mode_enable)
|
||||
adapter->dcb_set_bitmap |= BIT_PFC;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1493,8 +1493,6 @@ static void ixgbe_free_desc_rings(struct ixgbe_adapter *adapter)
|
|||
tx_ring->tx_buffer_info = NULL;
|
||||
kfree(rx_ring->rx_buffer_info);
|
||||
rx_ring->rx_buffer_info = NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int ixgbe_setup_desc_rings(struct ixgbe_adapter *adapter)
|
||||
|
@ -1973,8 +1971,6 @@ static void ixgbe_get_wol(struct net_device *netdev,
|
|||
wol->wolopts |= WAKE_BCAST;
|
||||
if (adapter->wol & IXGBE_WUFC_MAG)
|
||||
wol->wolopts |= WAKE_MAGIC;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int ixgbe_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
|
||||
|
|
|
@ -1615,8 +1615,6 @@ static void ixgbe_set_itr_msix(struct ixgbe_q_vector *q_vector)
|
|||
|
||||
ixgbe_write_eitr(q_vector);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void ixgbe_check_fan_failure(struct ixgbe_adapter *adapter, u32 eicr)
|
||||
|
@ -2180,8 +2178,6 @@ static void ixgbe_set_itr(struct ixgbe_adapter *adapter)
|
|||
|
||||
ixgbe_write_eitr(q_vector);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4466,7 +4462,6 @@ static void ixgbe_reset_interrupt_capability(struct ixgbe_adapter *adapter)
|
|||
adapter->flags &= ~IXGBE_FLAG_MSI_ENABLED;
|
||||
pci_disable_msi(adapter->pdev);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -946,8 +946,6 @@ static void ixgbevf_set_itr_msix(struct ixgbevf_q_vector *q_vector)
|
|||
itr_reg = EITR_INTS_PER_SEC_TO_REG(new_itr);
|
||||
ixgbevf_write_eitr(adapter, v_idx, itr_reg);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static irqreturn_t ixgbevf_msix_mbx(int irq, void *data)
|
||||
|
@ -2151,8 +2149,6 @@ static void ixgbevf_reset_interrupt_capability(struct ixgbevf_adapter *adapter)
|
|||
pci_disable_msix(adapter->pdev);
|
||||
kfree(adapter->msix_entries);
|
||||
adapter->msix_entries = NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -103,8 +103,6 @@ jme_mdio_write(struct net_device *netdev,
|
|||
|
||||
if (i == 0)
|
||||
jeprintk(jme->pdev, "phy(%d) write timeout : %d\n", phy, reg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
@ -130,8 +128,6 @@ jme_reset_phy_processor(struct jme_adapter *jme)
|
|||
jme_mdio_write(jme->dev,
|
||||
jme->mii_if.phy_id,
|
||||
MII_BMCR, val | BMCR_RESET);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -791,7 +791,6 @@ static void ei_receive(struct net_device *dev)
|
|||
/* We used to also ack ENISR_OVER here, but that would sometimes mask
|
||||
a real overrun, leaving the 8390 in a stopped state with rec'vr off. */
|
||||
ei_outb_p(ENISR_RX+ENISR_RX_ERR, e8390_base+EN0_ISR);
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -307,8 +307,6 @@ static void lne390_reset_8390(struct net_device *dev)
|
|||
ei_status.txing = 0;
|
||||
outb(0x01, ioaddr + LNE390_RESET_PORT);
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -661,7 +661,6 @@ static void mac8390_no_reset(struct net_device *dev)
|
|||
ei_status.txing = 0;
|
||||
if (ei_debug > 1)
|
||||
pr_info("reset not supported\n");
|
||||
return;
|
||||
}
|
||||
|
||||
static void interlan_reset(struct net_device *dev)
|
||||
|
@ -673,7 +672,6 @@ static void interlan_reset(struct net_device *dev)
|
|||
target[0xC0000] = 0;
|
||||
if (ei_debug > 1)
|
||||
pr_cont("reset complete\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* dayna_memcpy_fromio/dayna_memcpy_toio */
|
||||
|
|
|
@ -748,8 +748,6 @@ static void meth_tx_timeout(struct net_device *dev)
|
|||
|
||||
dev->trans_start = jiffies; /* prevent tx timeout */
|
||||
netif_wake_queue(dev);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -140,8 +140,6 @@ static void mlx4_en_get_wol(struct net_device *netdev,
|
|||
{
|
||||
wol->supported = 0;
|
||||
wol->wolopts = 0;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int mlx4_en_get_sset_count(struct net_device *dev, int sset)
|
||||
|
|
|
@ -608,7 +608,6 @@ static void ne_block_output(struct net_device *dev, int count,
|
|||
|
||||
outb_p(ENISR_RDC, NE_BASE + EN0_ISR); /* Ack intr. */
|
||||
ei_status.dmaing &= ~0x01;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -785,7 +785,6 @@ static void ne_block_output(struct net_device *dev, int count,
|
|||
|
||||
outb_p(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */
|
||||
ei_status.dmaing &= ~0x01;
|
||||
return;
|
||||
}
|
||||
|
||||
static int __init ne_drv_probe(struct platform_device *pdev)
|
||||
|
|
|
@ -730,7 +730,6 @@ static void ne_block_output(struct net_device *dev, int count,
|
|||
|
||||
outb_p(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */
|
||||
ei_status.dmaing &= ~0x01;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -631,7 +631,6 @@ static void ne2k_pci_block_output(struct net_device *dev, int count,
|
|||
|
||||
outb(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */
|
||||
ei_status.dmaing &= ~0x01;
|
||||
return;
|
||||
}
|
||||
|
||||
static void ne2k_pci_get_drvinfo(struct net_device *dev,
|
||||
|
|
|
@ -255,8 +255,6 @@ static void ne3210_reset_8390(struct net_device *dev)
|
|||
ei_status.txing = 0;
|
||||
outb(0x01, ioaddr + NE3210_RESET_PORT);
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -1901,6 +1901,5 @@ netxen_post_rx_buffers_nodb(struct netxen_adapter *adapter,
|
|||
void netxen_nic_clear_stats(struct netxen_adapter *adapter)
|
||||
{
|
||||
memset(&adapter->stats, 0, sizeof(adapter->stats));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -2781,7 +2781,6 @@ netxen_config_indev_addr(struct net_device *dev, unsigned long event)
|
|||
} endfor_ifa(indev);
|
||||
|
||||
in_dev_put(indev);
|
||||
return;
|
||||
}
|
||||
|
||||
static int netxen_netdev_event(struct notifier_block *this,
|
||||
|
|
|
@ -514,8 +514,6 @@ static void dump_packet(void *buf, int len)
|
|||
if (i % 16 == 15) printk("\n");
|
||||
}
|
||||
printk("\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* We have a good packet, get it out of the buffer. */
|
||||
|
|
|
@ -1005,7 +1005,6 @@ static void octeon_mgmt_poll_controller(struct net_device *netdev)
|
|||
|
||||
octeon_mgmt_receive_packets(p, 16);
|
||||
octeon_mgmt_update_rx_stats(netdev);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1472,8 +1472,6 @@ static void pasemi_mac_queue_csdesc(const struct sk_buff *skb,
|
|||
txring->next_to_fill = fill;
|
||||
|
||||
write_dma_reg(PAS_DMA_TXCHAN_INCR(txring->chan.chno), 2);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int pasemi_mac_start_tx(struct sk_buff *skb, struct net_device *dev)
|
||||
|
|
|
@ -622,8 +622,6 @@ static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value)
|
|||
outw(MDIO_ENB_IN, mdio_addr);
|
||||
outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/* Reset and restore all of the 3c574 registers. */
|
||||
|
|
|
@ -1510,8 +1510,6 @@ static void ei_receive(struct net_device *dev)
|
|||
ei_local->current_page = next_frame;
|
||||
outb_p(next_frame-1, e8390_base+EN0_BOUNDARY);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -1081,8 +1081,6 @@ static void fjn_rx(struct net_device *dev)
|
|||
"%d ticks.\n", dev->name, inb(ioaddr + RX_MODE), i);
|
||||
}
|
||||
*/
|
||||
|
||||
return;
|
||||
} /* fjn_rx */
|
||||
|
||||
/*====================================================================*/
|
||||
|
|
|
@ -402,8 +402,6 @@ static void ibmtr_hw_setup(struct net_device *dev, u_int mmiobase)
|
|||
|
||||
/* 0x40 will release the card for use */
|
||||
outb(0x40, dev->base_addr);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static struct pcmcia_device_id ibmtr_ids[] = {
|
||||
|
|
|
@ -1313,8 +1313,6 @@ static void update_stats(unsigned int ioaddr, struct net_device *dev)
|
|||
lp->linux_stats.tx_fifo_errors = lp->mace_stats.uflo;
|
||||
lp->linux_stats.tx_heartbeat_errors = lp->mace_stats.cerr;
|
||||
/* lp->linux_stats.tx_window_errors; */
|
||||
|
||||
return;
|
||||
} /* update_stats */
|
||||
|
||||
/* ----------------------------------------------------------------------------
|
||||
|
|
|
@ -1239,7 +1239,6 @@ static void smc_hardware_send_packet(struct net_device * dev)
|
|||
dev_kfree_skb_irq(skb);
|
||||
dev->trans_start = jiffies;
|
||||
netif_start_queue(dev);
|
||||
return;
|
||||
}
|
||||
|
||||
/*====================================================================*/
|
||||
|
@ -1369,7 +1368,6 @@ static void smc_tx_err(struct net_device * dev)
|
|||
smc->packets_waiting--;
|
||||
|
||||
outw(saved_packet, ioaddr + PNR_ARR);
|
||||
return;
|
||||
}
|
||||
|
||||
/*====================================================================*/
|
||||
|
@ -1589,8 +1587,6 @@ static void smc_rx(struct net_device *dev)
|
|||
}
|
||||
/* Let the MMU free the memory of this packet. */
|
||||
outw(MC_RELEASE, ioaddr + MMU_CMD);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*======================================================================
|
||||
|
@ -1640,8 +1636,6 @@ static void set_rx_mode(struct net_device *dev)
|
|||
outw(rx_cfg_setting, ioaddr + RCR);
|
||||
SMC_SELECT_BANK(2);
|
||||
spin_unlock_irqrestore(&smc->lock, flags);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/*======================================================================
|
||||
|
|
|
@ -647,7 +647,6 @@ static void pcnet32_realloc_rx_ring(struct net_device *dev,
|
|||
(1 << size),
|
||||
new_rx_ring,
|
||||
new_ring_dma_addr);
|
||||
return;
|
||||
}
|
||||
|
||||
static void pcnet32_purge_rx_ring(struct net_device *dev)
|
||||
|
@ -1215,7 +1214,6 @@ static void pcnet32_rx_entry(struct net_device *dev,
|
|||
skb->protocol = eth_type_trans(skb, dev);
|
||||
netif_receive_skb(skb);
|
||||
dev->stats.rx_packets++;
|
||||
return;
|
||||
}
|
||||
|
||||
static int pcnet32_rx(struct net_device *dev, int budget)
|
||||
|
@ -2623,7 +2621,6 @@ static void pcnet32_load_multicast(struct net_device *dev)
|
|||
for (i = 0; i < 4; i++)
|
||||
lp->a.write_csr(ioaddr, PCNET32_MC_FILTER + i,
|
||||
le16_to_cpu(mcast_table[i]));
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -97,7 +97,6 @@ static void ns_giga_speed_fallback(struct phy_device *phydev, int mode)
|
|||
phy_write(phydev, NS_EXP_MEM_DATA, 0x0008);
|
||||
phy_write(phydev, MII_BMCR, (bmcr & ~BMCR_PDOWN));
|
||||
phy_write(phydev, LED_CTRL_REG, mode);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ns_10_base_t_hdx_loopack(struct phy_device *phydev, int disable)
|
||||
|
@ -110,8 +109,6 @@ static void ns_10_base_t_hdx_loopack(struct phy_device *phydev, int disable)
|
|||
|
||||
printk(KERN_DEBUG "DP83865 PHY: 10BASE-T HDX loopback %s\n",
|
||||
(ns_exp_read(phydev, 0x1c0) & 0x0001) ? "off" : "on");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int ns_config_init(struct phy_device *phydev)
|
||||
|
|
|
@ -1191,8 +1191,6 @@ plip_wakeup(void *handle)
|
|||
/* Clear the data port. */
|
||||
write_data (dev, 0x00);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -1308,7 +1306,6 @@ static void plip_attach (struct parport *port)
|
|||
parport_unregister_device(nl->pardev);
|
||||
err_free_dev:
|
||||
free_netdev(dev);
|
||||
return;
|
||||
}
|
||||
|
||||
/* plip_detach() is called (by the parport code) when a port is
|
||||
|
|
|
@ -301,7 +301,6 @@ static void gelic_wl_get_ch_info(struct gelic_wl_info *wl)
|
|||
/* 16 bits of MSB has available channels */
|
||||
wl->ch_info = ch_info_raw >> 48;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/* SIOGIWRANGE */
|
||||
|
|
|
@ -222,7 +222,6 @@ static void ql_write_common_reg_l(struct ql3_adapter *qdev,
|
|||
writel(value, reg);
|
||||
readl(reg);
|
||||
spin_unlock_irqrestore(&qdev->hw_lock, hw_flags);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ql_write_common_reg(struct ql3_adapter *qdev,
|
||||
|
@ -230,7 +229,6 @@ static void ql_write_common_reg(struct ql3_adapter *qdev,
|
|||
{
|
||||
writel(value, reg);
|
||||
readl(reg);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ql_write_nvram_reg(struct ql3_adapter *qdev,
|
||||
|
@ -239,7 +237,6 @@ static void ql_write_nvram_reg(struct ql3_adapter *qdev,
|
|||
writel(value, reg);
|
||||
readl(reg);
|
||||
udelay(1);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ql_write_page0_reg(struct ql3_adapter *qdev,
|
||||
|
@ -249,7 +246,6 @@ static void ql_write_page0_reg(struct ql3_adapter *qdev,
|
|||
ql_set_register_page(qdev,0);
|
||||
writel(value, reg);
|
||||
readl(reg);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -262,7 +258,6 @@ static void ql_write_page1_reg(struct ql3_adapter *qdev,
|
|||
ql_set_register_page(qdev,1);
|
||||
writel(value, reg);
|
||||
readl(reg);
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -275,7 +270,6 @@ static void ql_write_page2_reg(struct ql3_adapter *qdev,
|
|||
ql_set_register_page(qdev,2);
|
||||
writel(value, reg);
|
||||
readl(reg);
|
||||
return;
|
||||
}
|
||||
|
||||
static void ql_disable_interrupts(struct ql3_adapter *qdev)
|
||||
|
|
|
@ -239,7 +239,6 @@ qlcnic_napi_disable(struct qlcnic_adapter *adapter)
|
|||
static void qlcnic_clear_stats(struct qlcnic_adapter *adapter)
|
||||
{
|
||||
memset(&adapter->stats, 0, sizeof(adapter->stats));
|
||||
return;
|
||||
}
|
||||
|
||||
static int qlcnic_set_dma_mask(struct qlcnic_adapter *adapter)
|
||||
|
@ -2662,7 +2661,6 @@ qlcnic_config_indev_addr(struct net_device *dev, unsigned long event)
|
|||
} endfor_ifa(indev);
|
||||
|
||||
in_dev_put(indev);
|
||||
return;
|
||||
}
|
||||
|
||||
static int qlcnic_netdev_event(struct notifier_block *this,
|
||||
|
|
|
@ -181,8 +181,6 @@ static void ql_update_stats(struct ql_adapter *qdev)
|
|||
spin_unlock(&qdev->stats_lock);
|
||||
|
||||
QL_DUMP_STAT(qdev);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static char ql_stats_str_arr[][ETH_GSTRING_LEN] = {
|
||||
|
|
|
@ -2943,7 +2943,6 @@ static void s2io_netpoll(struct net_device *dev)
|
|||
}
|
||||
}
|
||||
enable_irq(dev->irq);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -4756,7 +4755,6 @@ static void s2io_handle_errors(void *dev_id)
|
|||
s2io_stop_all_tx_queue(sp);
|
||||
schedule_work(&sp->rst_timer_task);
|
||||
sw_stat->soft_reset_cnt++;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -8645,7 +8643,6 @@ static void lro_append_pkt(struct s2io_nic *sp, struct lro *lro,
|
|||
first->truesize += skb->truesize;
|
||||
lro->last_frag = skb;
|
||||
swstats->clubbed_frms_cnt++;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -426,7 +426,6 @@ sb1000_send_command(const int ioaddr[], const char* name,
|
|||
if (sb1000_debug > 3)
|
||||
printk(KERN_DEBUG "%s: sb1000_send_command out: %02x%02x%02x%02x"
|
||||
"%02x%02x\n", name, out[0], out[1], out[2], out[3], out[4], out[5]);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Card Read Status (to be used during frame rx) */
|
||||
|
@ -438,7 +437,6 @@ sb1000_read_status(const int ioaddr[], unsigned char in[])
|
|||
in[3] = inb(ioaddr[0] + 3);
|
||||
in[4] = inb(ioaddr[0] + 4);
|
||||
in[0] = inb(ioaddr[0] + 5);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Issue Read Command (to be used during frame rx) */
|
||||
|
@ -450,7 +448,6 @@ sb1000_issue_read_command(const int ioaddr[], const char* name)
|
|||
sb1000_wait_for_ready_clear(ioaddr, name);
|
||||
outb(0xa0, ioaddr[0] + 6);
|
||||
sb1000_send_command(ioaddr, name, Command0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -733,7 +730,6 @@ sb1000_print_status_buffer(const char* name, unsigned char st[],
|
|||
printk("\n");
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -926,7 +922,6 @@ sb1000_error_dpc(struct net_device *dev)
|
|||
sb1000_read_status(ioaddr, st);
|
||||
if (st[1] & 0x10)
|
||||
lp->rx_error_dpc_count = ErrorDpcCounterInitialize;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -578,7 +578,6 @@ static void seeq8005_rx(struct net_device *dev)
|
|||
/* If any worth-while packets have been received, netif_rx()
|
||||
has done a mark_bh(NET_BH) for us and will work on them
|
||||
when we get to the bottom-half routine. */
|
||||
return;
|
||||
}
|
||||
|
||||
/* The inverse routine to net_open(). */
|
||||
|
|
|
@ -858,7 +858,6 @@ static void mdio_reset(long mdio_addr)
|
|||
outl(MDDIR | MDIO | MDC, mdio_addr);
|
||||
mdio_delay();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -953,8 +952,6 @@ static void mdio_write(struct net_device *net_dev, int phy_id, int location,
|
|||
mdio_delay();
|
||||
}
|
||||
outl(0x00, mdio_addr);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1264,7 +1261,6 @@ static void sis630_set_eq(struct net_device *net_dev, u8 revision)
|
|||
mdio_write(net_dev, sis_priv->cur_phy, MII_RESV,
|
||||
(reg14h | 0x2000) & 0xBFFF);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1560,7 +1556,6 @@ static void sis900_tx_timeout(struct net_device *net_dev)
|
|||
|
||||
/* Enable all known interrupts by setting the interrupt mask. */
|
||||
outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr);
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2330,8 +2325,6 @@ static void set_rx_mode(struct net_device *net_dev)
|
|||
/* restore cr */
|
||||
outl(cr_saved, ioaddr + cr);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -844,7 +844,6 @@ static void skfp_ctl_set_multicast_list(struct net_device *dev)
|
|||
spin_lock_irqsave(&bp->DriverLock, Flags);
|
||||
skfp_ctl_set_multicast_list_wo_lock(dev);
|
||||
spin_unlock_irqrestore(&bp->DriverLock, Flags);
|
||||
return;
|
||||
} // skfp_ctl_set_multicast_list
|
||||
|
||||
|
||||
|
@ -898,7 +897,6 @@ static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev)
|
|||
/* Update adapter filters */
|
||||
mac_update_multicast(smc);
|
||||
}
|
||||
return;
|
||||
} // skfp_ctl_set_multicast_list_wo_lock
|
||||
|
||||
|
||||
|
|
|
@ -731,7 +731,6 @@ void
|
|||
slhc_free(struct slcompress *comp)
|
||||
{
|
||||
printk(KERN_DEBUG "Called IP function on non IP-system: slhc_free");
|
||||
return;
|
||||
}
|
||||
struct slcompress *
|
||||
slhc_init(int rslots, int tslots)
|
||||
|
|
|
@ -460,7 +460,6 @@ static void ultramca_reset_8390(struct net_device *dev)
|
|||
|
||||
if (ei_debug > 1)
|
||||
printk("reset done\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Grab the 8390 specific header. Similar to the block_input routine, but
|
||||
|
|
|
@ -421,7 +421,6 @@ ultra_reset_8390(struct net_device *dev)
|
|||
outb(0x01, cmd_port + 6); /* Enable interrupts and memory. */
|
||||
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Grab the 8390 specific header. Similar to the block_input routine, but
|
||||
|
|
|
@ -352,7 +352,6 @@ static void ultra32_reset_8390(struct net_device *dev)
|
|||
outb(0x84, ioaddr + 5); /* Enable MEM16 & Disable Bus Master. */
|
||||
outb(0x01, ioaddr + 6); /* Enable Interrupts. */
|
||||
if (ei_debug > 1) printk("reset done\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* Grab the 8390 specific header. Similar to the block_input routine, but
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue