Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4713902rwb; Tue, 20 Sep 2022 19:18:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Fx6x1+FOirTNLzajo/lIbqNK7zSvWCydSyZ6TXtgNy9bJBjD6V+nUARijOdftXAO1GK8o X-Received: by 2002:aa7:df8b:0:b0:44e:882f:7c5c with SMTP id b11-20020aa7df8b000000b0044e882f7c5cmr22807376edy.418.1663726696528; Tue, 20 Sep 2022 19:18:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663726696; cv=none; d=google.com; s=arc-20160816; b=JmWNZVbDNtntENiXAdxAdGWg4FUoQSJ0EV3uVUdrLHwGgKlINkJ/+XRdS+JlnlrWkF 71AZEj+qf6TLU4Qog2k18qOJdT/uQikOsstwDq49v0hbPVNJLHU5qi6PjwgrbRji/x0q 3LBwj3Bao3l84nQIFmAnJEtNasjTKkV1YaJCD+4XhL/CRFr/KeFhpgHQgLIkD7Q/VkZj OtqEi4s56qq6Ieg4iXSuu1rU6S6fc94RXHx4rl0lOBFVT7rJTT3YsT2ohH0fiZBCAevE qvfYZlOzLF4f6L+87pYQwBFClA2QfQQlLSj1S32AmX3olCPL1GszEH5LnzbxpbPg1sa6 gx0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dtPCmh9YXLhCFO8XDyXq/0tvS5Otx6S48HNTJttP2KU=; b=iErgyXUwKzSiopf4c/inTSnu9H+LftcMHjK/y7dV3Yaa7FtkvKpFum+kp4FHABjJ9g M4DU7hsU7o/Z8dbVukyfuNnmf+NL4k7gl7a6qtX+ejUuK+R3zPcnXcpWHVNt07dy7nNu xNFmULtiEsxSgwtOfVXLSe3HyP2kUUyKrRBFgm/Fg7zu4UoZpBSaNx5GXekWTCqT3A8l hm25tHaiNfMxo6ERVqB/EsXq7hiqm0YITdG3Mq5Md0RoOLqT3yZhFB7Yahr2DTp6ZKha hLWYC0HGw9Lh74Ef4OWPrRT07JVbTIn+wdw7nVuo5slCB6OJovypztm3ffNSnH0KhkjT fHnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he7-20020a1709073d8700b00732fd5caf3fsi1560281ejc.227.2022.09.20.19.17.51; Tue, 20 Sep 2022 19:18:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231265AbiIUBGS (ORCPT + 99 others); Tue, 20 Sep 2022 21:06:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229905AbiIUBGP (ORCPT ); Tue, 20 Sep 2022 21:06:15 -0400 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72D533433 for ; Tue, 20 Sep 2022 18:06:13 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R761e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VQLL0q6_1663722370; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VQLL0q6_1663722370) by smtp.aliyun-inc.com; Wed, 21 Sep 2022 09:06:11 +0800 From: Yang Li To: richard@nod.at Cc: anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] um: remove unneeded semicolon Date: Wed, 21 Sep 2022 09:06:09 +0800 Message-Id: <20220921010609.116496-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org while(){}, semicolon do not need to be appended. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2237 Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/um/drivers/virtio_uml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/drivers/virtio_uml.c b/arch/um/drivers/virtio_uml.c index 588930a0ced1..198aaed81ce6 100644 --- a/arch/um/drivers/virtio_uml.c +++ b/arch/um/drivers/virtio_uml.c @@ -412,7 +412,7 @@ static irqreturn_t vu_req_read_message(struct virtio_uml_device *vu_dev, if (msg.msg.header.flags & VHOST_USER_FLAG_NEED_REPLY) vhost_user_reply(vu_dev, &msg.msg, response); irq_rc = IRQ_HANDLED; - }; + } /* mask EAGAIN as we try non-blocking read until socket is empty */ vu_dev->recv_rc = (rc == -EAGAIN) ? 0 : rc; return irq_rc; -- 2.20.1.7.g153144c