Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1397688pxk; Thu, 10 Sep 2020 14:24:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzu+77cHcoZ2m0iui8+USKJLIk3OsBpMkW6S5agZzXFuwdha9p5MYHXhOffEVMt/I/wT04C X-Received: by 2002:a05:6402:2d9:: with SMTP id b25mr11585519edx.131.1599773046532; Thu, 10 Sep 2020 14:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599773046; cv=none; d=google.com; s=arc-20160816; b=a6n95D/gABzrGinTKjEzEFmKuaOC+4knbx2e1Sn9JvBDMfzldkwiwrETR2VI5gvcH9 CoD5V8ShIVgsBZLXIU04kIlQAkMFossu6rBBumOmkTqI82qhK2nJwFobaYPOwXJu7xhe e7r4/zcu5NC9Jj5Rj9RyhexYJ42Dc4a0tJtvZyozIVRO4+dMxDDq/NOzAVfKARxWtl1u dFgJaNYtDNKtQB1e6xGrdHkHMQ5OvcIuvqCWgcSXqRzpg3o0rRu1RCNOJTVuy9KF3mzG pASj59jseGmDOCCDnop4T9hIeVoO7e5gGy8mct4dqdr9/+Fv+EzLMQ37WajH0AzYPIa1 7sxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6Hzo+4rKg8uIlShf31VyM/TlthzY5+CwGD44+bPwHyU=; b=hnAh7f1R8719hMCtWBmrCGARvfitYwOKRp/iq4whdJTu1vxEd+GP1Jkk6hbZioYscf WqA78jo27YFFONZvN3Pb4uBu6XBagpzkkUlgazErHrIIMBJs04WeRU2xXjhQditNfYqz ZA8AkkXmut5kpiztTaOBKQFQb7iPKFjV6NmWS5AXgJ9H2350Mln6RgwlKteNa8mlahol cMxlK/g7gmQ+I+8W2USdqDMPldsW9ZEjTbuuHOMYiAgDCEmBL2qm0D70DQAW6FfGwZe2 34sFq7QOrXzVnYn6hAvXnHY5RzBLaP8mz2QM0vML4jQAi3TZ5QSs6SoRSpYHAKv4BQZS 9MYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si4393014ejw.12.2020.09.10.14.23.43; Thu, 10 Sep 2020 14:24:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726760AbgIJVWr (ORCPT + 99 others); Thu, 10 Sep 2020 17:22:47 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54746 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731001AbgIJOYF (ORCPT ); Thu, 10 Sep 2020 10:24:05 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 79844F2DCA6CBF645C48; Thu, 10 Sep 2020 22:06:21 +0800 (CST) Received: from huawei.com (10.175.127.227) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Thu, 10 Sep 2020 22:06:14 +0800 From: Jason Yan To: , , , , , CC: Hulk Robot Subject: [PATCH] video: fbdev: sis: remove unneeded semicolon Date: Thu, 10 Sep 2020 22:05:36 +0800 Message-ID: <20200910140536.1191150-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eliminate the following coccicheck warning: drivers/video/fbdev/sis/sis_accel.h:143:72-73: Unneeded semicolon drivers/video/fbdev/sis/sis_accel.h:144:72-73: Unneeded semicolon drivers/video/fbdev/sis/sis_accel.h:145:72-73: Unneeded semicolon drivers/video/fbdev/sis/sis_accel.h:273:75-76: Unneeded semicolon drivers/video/fbdev/sis/sis_accel.h:274:75-76: Unneeded semicolon drivers/video/fbdev/sis/sis_accel.h:275:73-74: Unneeded semicolon drivers/video/fbdev/sis/sis_accel.h:276:75-76: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/video/fbdev/sis/sis_accel.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/sis/sis_accel.h b/drivers/video/fbdev/sis/sis_accel.h index c3dfd2a20cf9..98d209658662 100644 --- a/drivers/video/fbdev/sis/sis_accel.h +++ b/drivers/video/fbdev/sis/sis_accel.h @@ -140,9 +140,9 @@ #define SiS300Idle \ { \ - while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \ - while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \ - while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){}; \ + while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \ + while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \ + while((MMIO_IN16(ivideo->mmio_vbase, BR(16)+2) & 0xE000) != 0xE000){} \ CmdQueLen = MMIO_IN16(ivideo->mmio_vbase, 0x8240); \ } /* (do three times, because 2D engine seems quite unsure about whether or not it's idle) */ @@ -270,10 +270,10 @@ #define SiS310Idle \ { \ - while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){}; \ - while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){}; \ - while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){}; \ - while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){}; \ + while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){} \ + while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){} \ + while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){} \ + while( (MMIO_IN16(ivideo->mmio_vbase, Q_STATUS+2) & 0x8000) != 0x8000){} \ CmdQueLen = 0; \ } -- 2.25.4