driver/net/*: remove redundant argument comments
remove redundant argument comments in files of drivers/net/* Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
7e56b5d698
Коммит
ece4af18e0
|
@ -345,7 +345,6 @@ no_buffers:
|
|||
/**
|
||||
* e1000_alloc_jumbo_rx_buffers - Replace used jumbo receive buffers
|
||||
* @adapter: address of board private structure
|
||||
* @rx_ring: pointer to receive ring structure
|
||||
* @cleaned_count: number of buffers to allocate this pass
|
||||
**/
|
||||
|
||||
|
|
|
@ -1980,7 +1980,6 @@ static void igb_configure_rx(struct igb_adapter *adapter)
|
|||
|
||||
/**
|
||||
* igb_free_tx_resources - Free Tx Resources per Queue
|
||||
* @adapter: board private structure
|
||||
* @tx_ring: Tx descriptor ring for a specific queue
|
||||
*
|
||||
* Free all transmit software resources
|
||||
|
@ -2033,7 +2032,6 @@ static void igb_unmap_and_free_tx_resource(struct igb_adapter *adapter,
|
|||
|
||||
/**
|
||||
* igb_clean_tx_ring - Free Tx Buffers
|
||||
* @adapter: board private structure
|
||||
* @tx_ring: ring to be cleaned
|
||||
**/
|
||||
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)
|
|||
|
||||
/**
|
||||
* igb_free_rx_resources - Free Rx Resources
|
||||
* @adapter: board private structure
|
||||
* @rx_ring: ring to clean the resources from
|
||||
*
|
||||
* Free all receive software resources
|
||||
|
@ -2120,7 +2117,6 @@ static void igb_free_all_rx_resources(struct igb_adapter *adapter)
|
|||
|
||||
/**
|
||||
* igb_clean_rx_ring - Free Rx Buffers per Queue
|
||||
* @adapter: board private structure
|
||||
* @rx_ring: ring to free buffers from
|
||||
**/
|
||||
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)
|
|||
* ixgbe_intr - legacy mode Interrupt Handler
|
||||
* @irq: interrupt number
|
||||
* @data: pointer to a network interface device structure
|
||||
* @pt_regs: CPU registers structure
|
||||
**/
|
||||
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)
|
|||
* ax_interrupt - handle the interrupts from an 8390
|
||||
* @irq: interrupt number
|
||||
* @dev_id: a pointer to the net_device
|
||||
* @regs: unused
|
||||
*
|
||||
* Handle the ether interface interrupts. We pull packets from
|
||||
* 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)
|
|||
* sis900_interrupt - sis900 interrupt handler
|
||||
* @irq: the irq number
|
||||
* @dev_instance: the client data object
|
||||
* @regs: snapshot of processor context
|
||||
*
|
||||
* The interrupt handler does all of the Rx thread work,
|
||||
* and cleans up after the Tx thread
|
||||
|
|
|
@ -672,7 +672,6 @@ write_hash:
|
|||
/**
|
||||
* spider_net_prepare_tx_descr - fill tx descriptor with skb data
|
||||
* @card: card structure
|
||||
* @descr: descriptor structure to fill out
|
||||
* @skb: packet to use
|
||||
*
|
||||
* returns 0 on success, <0 on failure.
|
||||
|
@ -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
|
||||
* @card: card structure
|
||||
* @descr: descriptor address to enable TX processing at
|
||||
*
|
||||
* This routine will start the transmit DMA running if
|
||||
* 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,
|
|||
* spider_net_interrupt - interrupt handler for spider_net
|
||||
* @irq: interrupt number
|
||||
* @ptr: pointer to net_device
|
||||
* @regs: PU registers
|
||||
*
|
||||
* returns IRQ_HANDLED, if interrupt was for driver, or IRQ_NONE, if no
|
||||
* interrupt found raised by 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
|
||||
* @card: card structure
|
||||
* @pdev: PCI device
|
||||
*
|
||||
* Returns the card structure or NULL if any errors occur
|
||||
|
|
Загрузка…
Ссылка в новой задаче