Merge tag 'staging-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[platform/kernel/linux-exynos.git] / drivers / staging / unisys / visornic / visornic_main.c
index d8f5eca..73a01a7 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;
 }