ixgb: clean up un-necessary declarations
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
Jeff Garzik
parent
d9fed18bf9
commit
7490d71a92
@@ -71,16 +71,6 @@ static struct pci_device_id ixgb_pci_tbl[] = {
|
||||
MODULE_DEVICE_TABLE(pci, ixgb_pci_tbl);
|
||||
|
||||
/* Local Function Prototypes */
|
||||
|
||||
int ixgb_up(struct ixgb_adapter *adapter);
|
||||
void ixgb_down(struct ixgb_adapter *adapter, bool kill_watchdog);
|
||||
void ixgb_reset(struct ixgb_adapter *adapter);
|
||||
int ixgb_setup_tx_resources(struct ixgb_adapter *adapter);
|
||||
int ixgb_setup_rx_resources(struct ixgb_adapter *adapter);
|
||||
void ixgb_free_tx_resources(struct ixgb_adapter *adapter);
|
||||
void ixgb_free_rx_resources(struct ixgb_adapter *adapter);
|
||||
void ixgb_update_stats(struct ixgb_adapter *adapter);
|
||||
|
||||
static int ixgb_init_module(void);
|
||||
static void ixgb_exit_module(void);
|
||||
static int ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent);
|
||||
@@ -103,15 +93,16 @@ static irqreturn_t ixgb_intr(int irq, void *data);
|
||||
static bool ixgb_clean_tx_irq(struct ixgb_adapter *adapter);
|
||||
|
||||
#ifdef CONFIG_IXGB_NAPI
|
||||
static int ixgb_clean(struct napi_struct *napi, int budget);
|
||||
static bool ixgb_clean_rx_irq(struct ixgb_adapter *adapter,
|
||||
int *work_done, int work_to_do);
|
||||
static int ixgb_clean(struct napi_struct *, int);
|
||||
static bool ixgb_clean_rx_irq(struct ixgb_adapter *, int *, int);
|
||||
#else
|
||||
static bool ixgb_clean_rx_irq(struct ixgb_adapter *adapter);
|
||||
static bool ixgb_clean_rx_irq(struct ixgb_adapter *);
|
||||
#endif
|
||||
static void ixgb_alloc_rx_buffers(struct ixgb_adapter *adapter);
|
||||
static void ixgb_alloc_rx_buffers(struct ixgb_adapter *);
|
||||
|
||||
static void ixgb_tx_timeout(struct net_device *dev);
|
||||
static void ixgb_tx_timeout_task(struct work_struct *work);
|
||||
|
||||
static void ixgb_vlan_rx_register(struct net_device *netdev,
|
||||
struct vlan_group *grp);
|
||||
static void ixgb_vlan_rx_add_vid(struct net_device *netdev, u16 vid);
|
||||
|
Reference in New Issue
Block a user