]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/staging/unisys/visornic/visornic_main.c
Merge tag 'staging-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[mirror_ubuntu-artful-kernel.git] / drivers / staging / unisys / visornic / visornic_main.c
index d8f5ecac6c129028a2212a0df0c81c7625e6ea29..73a01a70b106651c0fcf3096b03958874d14b8a1 100644 (file)
@@ -1656,7 +1656,7 @@ static int visornic_poll(struct napi_struct *napi, int budget)
 
        /* If there aren't any more packets to receive stop the poll */
        if (rx_count < budget)
-               napi_complete(napi);
+               napi_complete_done(napi, rx_count);
 
        return rx_count;
 }