diff options
-rw-r--r-- | drivers/net/ethernet/qlogic/qla3xxx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qla3xxx.c b/drivers/net/ethernet/qlogic/qla3xxx.c index 3a17dcc3e910..80ba7292ec3d 100644 --- a/drivers/net/ethernet/qlogic/qla3xxx.c +++ b/drivers/net/ethernet/qlogic/qla3xxx.c | |||
@@ -1920,7 +1920,6 @@ static void ql_process_mac_tx_intr(struct ql3_adapter *qdev, | |||
1920 | { | 1920 | { |
1921 | struct ql_tx_buf_cb *tx_cb; | 1921 | struct ql_tx_buf_cb *tx_cb; |
1922 | int i; | 1922 | int i; |
1923 | int retval = 0; | ||
1924 | 1923 | ||
1925 | if (mac_rsp->flags & OB_MAC_IOCB_RSP_S) { | 1924 | if (mac_rsp->flags & OB_MAC_IOCB_RSP_S) { |
1926 | netdev_warn(qdev->ndev, | 1925 | netdev_warn(qdev->ndev, |
@@ -1935,7 +1934,6 @@ static void ql_process_mac_tx_intr(struct ql3_adapter *qdev, | |||
1935 | "Frame too short to be legal, frame not sent\n"); | 1934 | "Frame too short to be legal, frame not sent\n"); |
1936 | 1935 | ||
1937 | qdev->ndev->stats.tx_errors++; | 1936 | qdev->ndev->stats.tx_errors++; |
1938 | retval = -EIO; | ||
1939 | goto frame_not_sent; | 1937 | goto frame_not_sent; |
1940 | } | 1938 | } |
1941 | 1939 | ||
@@ -1944,7 +1942,6 @@ static void ql_process_mac_tx_intr(struct ql3_adapter *qdev, | |||
1944 | mac_rsp->transaction_id); | 1942 | mac_rsp->transaction_id); |
1945 | 1943 | ||
1946 | qdev->ndev->stats.tx_errors++; | 1944 | qdev->ndev->stats.tx_errors++; |
1947 | retval = -EIO; | ||
1948 | goto invalid_seg_count; | 1945 | goto invalid_seg_count; |
1949 | } | 1946 | } |
1950 | 1947 | ||