Commit ece4af18 authored by Qinghuang Feng's avatar Qinghuang Feng Committed by David S. Miller

driver/net/*: remove redundant argument comments

remove redundant argument comments in files of drivers/net/*
Signed-off-by: default avatarQinghuang Feng <qhfeng.kernel@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7e56b5d6
...@@ -345,7 +345,6 @@ static void e1000_alloc_rx_buffers_ps(struct e1000_adapter *adapter, ...@@ -345,7 +345,6 @@ static void e1000_alloc_rx_buffers_ps(struct e1000_adapter *adapter,
/** /**
* e1000_alloc_jumbo_rx_buffers - Replace used jumbo receive buffers * e1000_alloc_jumbo_rx_buffers - Replace used jumbo receive buffers
* @adapter: address of board private structure * @adapter: address of board private structure
* @rx_ring: pointer to receive ring structure
* @cleaned_count: number of buffers to allocate this pass * @cleaned_count: number of buffers to allocate this pass
**/ **/
......
...@@ -1980,7 +1980,6 @@ static void igb_configure_rx(struct igb_adapter *adapter) ...@@ -1980,7 +1980,6 @@ static void igb_configure_rx(struct igb_adapter *adapter)
/** /**
* igb_free_tx_resources - Free Tx Resources per Queue * igb_free_tx_resources - Free Tx Resources per Queue
* @adapter: board private structure
* @tx_ring: Tx descriptor ring for a specific queue * @tx_ring: Tx descriptor ring for a specific queue
* *
* Free all transmit software resources * Free all transmit software resources
...@@ -2033,7 +2032,6 @@ static void igb_unmap_and_free_tx_resource(struct igb_adapter *adapter, ...@@ -2033,7 +2032,6 @@ static void igb_unmap_and_free_tx_resource(struct igb_adapter *adapter,
/** /**
* igb_clean_tx_ring - Free Tx Buffers * igb_clean_tx_ring - Free Tx Buffers
* @adapter: board private structure
* @tx_ring: ring to be cleaned * @tx_ring: ring to be cleaned
**/ **/
static void igb_clean_tx_ring(struct igb_ring *tx_ring) static void igb_clean_tx_ring(struct igb_ring *tx_ring)
...@@ -2080,7 +2078,6 @@ static void igb_clean_all_tx_rings(struct igb_adapter *adapter) ...@@ -2080,7 +2078,6 @@ static void igb_clean_all_tx_rings(struct igb_adapter *adapter)
/** /**
* igb_free_rx_resources - Free Rx Resources * igb_free_rx_resources - Free Rx Resources
* @adapter: board private structure
* @rx_ring: ring to clean the resources from * @rx_ring: ring to clean the resources from
* *
* Free all receive software resources * Free all receive software resources
...@@ -2120,7 +2117,6 @@ static void igb_free_all_rx_resources(struct igb_adapter *adapter) ...@@ -2120,7 +2117,6 @@ static void igb_free_all_rx_resources(struct igb_adapter *adapter)
/** /**
* igb_clean_rx_ring - Free Rx Buffers per Queue * igb_clean_rx_ring - Free Rx Buffers per Queue
* @adapter: board private structure
* @rx_ring: ring to free buffers from * @rx_ring: ring to free buffers from
**/ **/
static void igb_clean_rx_ring(struct igb_ring *rx_ring) static void igb_clean_rx_ring(struct igb_ring *rx_ring)
......
...@@ -1320,7 +1320,6 @@ static inline void ixgbe_irq_enable(struct ixgbe_adapter *adapter) ...@@ -1320,7 +1320,6 @@ static inline void ixgbe_irq_enable(struct ixgbe_adapter *adapter)
* ixgbe_intr - legacy mode Interrupt Handler * ixgbe_intr - legacy mode Interrupt Handler
* @irq: interrupt number * @irq: interrupt number
* @data: pointer to a network interface device structure * @data: pointer to a network interface device structure
* @pt_regs: CPU registers structure
**/ **/
static irqreturn_t ixgbe_intr(int irq, void *data) static irqreturn_t ixgbe_intr(int irq, void *data)
{ {
......
...@@ -1175,7 +1175,6 @@ static int ei_start_xmit(struct sk_buff *skb, struct net_device *dev) ...@@ -1175,7 +1175,6 @@ static int ei_start_xmit(struct sk_buff *skb, struct net_device *dev)
* ax_interrupt - handle the interrupts from an 8390 * ax_interrupt - handle the interrupts from an 8390
* @irq: interrupt number * @irq: interrupt number
* @dev_id: a pointer to the net_device * @dev_id: a pointer to the net_device
* @regs: unused
* *
* Handle the ether interface interrupts. We pull packets from * Handle the ether interface interrupts. We pull packets from
* the 8390 via the card specific functions and fire them at the networking * the 8390 via the card specific functions and fire them at the networking
......
...@@ -1630,7 +1630,6 @@ sis900_start_xmit(struct sk_buff *skb, struct net_device *net_dev) ...@@ -1630,7 +1630,6 @@ sis900_start_xmit(struct sk_buff *skb, struct net_device *net_dev)
* sis900_interrupt - sis900 interrupt handler * sis900_interrupt - sis900 interrupt handler
* @irq: the irq number * @irq: the irq number
* @dev_instance: the client data object * @dev_instance: the client data object
* @regs: snapshot of processor context
* *
* The interrupt handler does all of the Rx thread work, * The interrupt handler does all of the Rx thread work,
* and cleans up after the Tx thread * and cleans up after the Tx thread
......
...@@ -672,7 +672,6 @@ spider_net_set_multi(struct net_device *netdev) ...@@ -672,7 +672,6 @@ spider_net_set_multi(struct net_device *netdev)
/** /**
* spider_net_prepare_tx_descr - fill tx descriptor with skb data * spider_net_prepare_tx_descr - fill tx descriptor with skb data
* @card: card structure * @card: card structure
* @descr: descriptor structure to fill out
* @skb: packet to use * @skb: packet to use
* *
* returns 0 on success, <0 on failure. * returns 0 on success, <0 on failure.
...@@ -867,7 +866,6 @@ spider_net_release_tx_chain(struct spider_net_card *card, int brutal) ...@@ -867,7 +866,6 @@ spider_net_release_tx_chain(struct spider_net_card *card, int brutal)
/** /**
* spider_net_kick_tx_dma - enables TX DMA processing * spider_net_kick_tx_dma - enables TX DMA processing
* @card: card structure * @card: card structure
* @descr: descriptor address to enable TX processing at
* *
* This routine will start the transmit DMA running if * This routine will start the transmit DMA running if
* it is not already running. This routine ned only be * it is not already running. This routine ned only be
...@@ -1637,7 +1635,6 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg, ...@@ -1637,7 +1635,6 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg,
* spider_net_interrupt - interrupt handler for spider_net * spider_net_interrupt - interrupt handler for spider_net
* @irq: interrupt number * @irq: interrupt number
* @ptr: pointer to net_device * @ptr: pointer to net_device
* @regs: PU registers
* *
* returns IRQ_HANDLED, if interrupt was for driver, or IRQ_NONE, if no * returns IRQ_HANDLED, if interrupt was for driver, or IRQ_NONE, if no
* interrupt found raised by card. * interrupt found raised by card.
...@@ -2419,7 +2416,6 @@ spider_net_undo_pci_setup(struct spider_net_card *card) ...@@ -2419,7 +2416,6 @@ spider_net_undo_pci_setup(struct spider_net_card *card)
/** /**
* spider_net_setup_pci_dev - sets up the device in terms of PCI operations * spider_net_setup_pci_dev - sets up the device in terms of PCI operations
* @card: card structure
* @pdev: PCI device * @pdev: PCI device
* *
* Returns the card structure or NULL if any errors occur * Returns the card structure or NULL if any errors occur
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment