aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/sge.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r--drivers/net/cxgb3/sge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index 77f3ec5ff8a7..994b5d6404df 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -544,7 +544,7 @@ static void *alloc_ring(struct pci_dev *pdev, size_t nelem, size_t elem_size,
544 * as HW contexts, packet buffers, and descriptor rings. Traffic to the 544 * as HW contexts, packet buffers, and descriptor rings. Traffic to the
545 * queue set must be quiesced prior to calling this. 545 * queue set must be quiesced prior to calling this.
546 */ 546 */
547void t3_free_qset(struct adapter *adapter, struct sge_qset *q) 547static void t3_free_qset(struct adapter *adapter, struct sge_qset *q)
548{ 548{
549 int i; 549 int i;
550 struct pci_dev *pdev = adapter->pdev; 550 struct pci_dev *pdev = adapter->pdev;
@@ -2215,7 +2215,7 @@ irqreturn_t t3_sge_intr_msix(int irq, void *cookie)
2215 * The MSI-X interrupt handler for an SGE response queue for the NAPI case 2215 * The MSI-X interrupt handler for an SGE response queue for the NAPI case
2216 * (i.e., response queue serviced by NAPI polling). 2216 * (i.e., response queue serviced by NAPI polling).
2217 */ 2217 */
2218irqreturn_t t3_sge_intr_msix_napi(int irq, void *cookie) 2218static irqreturn_t t3_sge_intr_msix_napi(int irq, void *cookie)
2219{ 2219{
2220 struct sge_qset *qs = cookie; 2220 struct sge_qset *qs = cookie;
2221 struct sge_rspq *q = &qs->rspq; 2221 struct sge_rspq *q = &qs->rspq;
@@ -2284,7 +2284,7 @@ static int rspq_check_napi(struct sge_qset *qs)
2284 * one SGE response queue per port in this mode and protect all response 2284 * one SGE response queue per port in this mode and protect all response
2285 * queues with queue 0's lock. 2285 * queues with queue 0's lock.
2286 */ 2286 */
2287irqreturn_t t3_intr_msi_napi(int irq, void *cookie) 2287static irqreturn_t t3_intr_msi_napi(int irq, void *cookie)
2288{ 2288{
2289 int new_packets; 2289 int new_packets;
2290 struct adapter *adap = cookie; 2290 struct adapter *adap = cookie;