diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2023-02-08 03:49:59 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-09 07:50:31 +0300 |
commit | 3ca11619a3cb7e4aa154fb5d89beb8706b5ff403 (patch) | |
tree | 1867d5a1c7bd450f4588d8144c9605804818db66 /drivers/net/ethernet | |
parent | f978fa41f66dadae8a4563aadcfdc6ca25691f54 (diff) | |
download | linux-3ca11619a3cb7e4aa154fb5d89beb8706b5ff403.tar.xz |
net: libwx: Remove unneeded semicolon
./drivers/net/ethernet/wangxun/libwx/wx_lib.c:683:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3976
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230208004959.47553-1-yang.lee@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/wangxun/libwx/wx_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/wangxun/libwx/wx_lib.c b/drivers/net/ethernet/wangxun/libwx/wx_lib.c index 88dceece3e8a..2ee286b2b177 100644 --- a/drivers/net/ethernet/wangxun/libwx/wx_lib.c +++ b/drivers/net/ethernet/wangxun/libwx/wx_lib.c @@ -680,7 +680,7 @@ static int wx_poll(struct napi_struct *napi, int budget) if (likely(napi_complete_done(napi, work_done))) { if (netif_running(wx->netdev)) wx_intr_enable(wx, WX_INTR_Q(q_vector->v_idx)); - }; + } return min(work_done, budget - 1); } |