ar71xx: fix typo
[openwrt/svn-archive/archive.git] / 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)