ar71xx: fix typo
authorFelix Fietkau <nbd@openwrt.org>
Mon, 12 Aug 2013 12:41:53 +0000 (12:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 12 Aug 2013 12:41:53 +0000 (12:41 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37759

target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c

index 8c62a4d2c95783500c613adb17986df3e74f9c97..93071690e8d04e2aefa6d9fb689d241fc3f2fa0e 100644 (file)
@@ -848,7 +848,7 @@ static int ag71xx_tx_packets(struct ag71xx *ag)
        DBG("%s: %d packets sent out\n", ag->dev->name, sent);
 
        if (!sent)
-               return;
+               return 0;
 
        netdev_completed_queue(ag->dev, sent, bytes_compl);
        if ((ring->curr - ring->dirty) < (ring->size * 3) / 4)