aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 61ffc925eae7..bb0d1c841c0f 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -839,7 +839,8 @@ static int cxgb_up(struct adapter *adap)
839 if (err) 839 if (err)
840 goto irq_err; 840 goto irq_err;
841 841
842 if (request_msix_data_irqs(adap)) { 842 err = request_msix_data_irqs(adap);
843 if (err) {
843 free_irq(adap->msix_info[0].vec, adap); 844 free_irq(adap->msix_info[0].vec, adap);
844 goto irq_err; 845 goto irq_err;
845 } 846 }