Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2711489rdh; Sun, 26 Nov 2023 16:58:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4QdWMkuVU0i2P6HIuEsU4hKIuuRMB4GuKzF03WbWZCkFfwAvCqRVSD4AU9T1g7oydCbS+ X-Received: by 2002:a17:90b:3504:b0:285:3511:6269 with SMTP id ls4-20020a17090b350400b0028535116269mr9373155pjb.38.1701046734588; Sun, 26 Nov 2023 16:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701046734; cv=none; d=google.com; s=arc-20160816; b=psh/6nvfhSNmSEzPDYIyTN2A35jYWFEng/JZVIunZNzcQmVMtTfNq7bHyP3NX6H4FS /alwE8C4PZeCaNfcHj0HhQO2UQCda9/ZTK2Lo5O8wITbxDiE2pxwweGDEqvbznytkp+U hQPt5d1UMdySvTeKqSAP+V3PZ/Vwf76Akaq2yvE8pfq4Ribxm2uqO6pQDDP9uqH6bOOw mEnBNLd8UKuHaxYWVJTAi3zVVPZcnsjPFBvtJOfq6mgTE+v/oNA1qIDshkVkktsSsCOv Nzj0cug49zDVRaXBRsY+cn22YwGsM4qgYQh9uONrGQ3LhMd1h9SYyrKZsPway+v2DbXB I6pg== 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=WA8Or+XBh37YRtAbb+S+6ZPN2jId72JohV8wPA1o0+c=; fh=eLKiEQNcvryyENrZAwNU4js6CzVEDAScJzqlgqbI7iE=; b=OVL94GCctZPxC0PjftFDf5qHUK/sUqPA5Ev2lbHELfle0r+d2OZWemg3aMUnX7082u wSqbpcP/SiOk5vDD6hYxlkIzCRwekpIWTWKm3HkYX66yqsjkPgSOlP5RFldfPL0moLKe LVlcLjWwuB0lTGzfFiQir6gWc6fddkQGZ7LSHXeAlarHGXWEMnNe+T+W0azot6IGI2hM lpl0YL5qhplNlfdRe/6CPB3+JtX/6OOSwPrsh73K2G8jULsqzkkioxz8sihwlCwiu2Rf jrvOuRZU0gxOBzl9vD+9WZw7rxcBpaz0v6IoO/d12jsNPXYFepby+xF+LmzimbHGEMOp KP7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id h10-20020a17090ac38a00b00285685ea084si8532162pjt.79.2023.11.26.16.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 16:58:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 46FC98068958; Sun, 26 Nov 2023 16:58:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231238AbjK0A6d (ORCPT + 99 others); Sun, 26 Nov 2023 19:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231186AbjK0A6c (ORCPT ); Sun, 26 Nov 2023 19:58:32 -0500 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74FA8119; Sun, 26 Nov 2023 16:58:37 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;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=9;SR=0;TI=SMTPD_---0Vx7PgGb_1701046714; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0Vx7PgGb_1701046714) by smtp.aliyun-inc.com; Mon, 27 Nov 2023 08:58:35 +0800 From: Yang Li To: matthias.bgg@gmail.com, mchehab@kernel.org, yunfei.dong@mediatek.com, andrew-ct.chen@mediatek.com, tiffany.lin@mediatek.com Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] media: mediatek: vcodec: Remove unneeded semicolon Date: Mon, 27 Nov 2023 08:58:33 +0800 Message-Id: <20231127005833.105870-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_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 26 Nov 2023 16:58:53 -0800 (PST) ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:569:2-3: Unneeded semicolon ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:583:2-3: Unneeded semicolon ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:599:2-3: Unneeded semicolon ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:613:2-3: Unneeded semicolon ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:633:2-3: Unneeded semicolon ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:647:2-3: Unneeded semicolon ./drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c:683:2-3: Unneeded semicolon Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7632 Signed-off-by: Yang Li --- .../vcodec/decoder/mtk_vcodec_dec_stateless.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c b/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c index d54b3833790d..b903e39fee89 100644 --- a/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c +++ b/drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_stateless.c @@ -566,7 +566,7 @@ static void mtk_vcodec_dec_fill_h264_level(struct v4l2_ctrl_config *cfg, default: cfg->max = V4L2_MPEG_VIDEO_H264_LEVEL_4_1; break; - }; + } } static void mtk_vcodec_dec_fill_h264_profile(struct v4l2_ctrl_config *cfg, @@ -580,7 +580,7 @@ static void mtk_vcodec_dec_fill_h264_profile(struct v4l2_ctrl_config *cfg, default: cfg->max = V4L2_MPEG_VIDEO_H264_PROFILE_HIGH; break; - }; + } } static void mtk_vcodec_dec_fill_h265_level(struct v4l2_ctrl_config *cfg, @@ -596,7 +596,7 @@ static void mtk_vcodec_dec_fill_h265_level(struct v4l2_ctrl_config *cfg, default: cfg->max = V4L2_MPEG_VIDEO_HEVC_LEVEL_4; break; - }; + } } static void mtk_vcodec_dec_fill_h265_profile(struct v4l2_ctrl_config *cfg, @@ -610,7 +610,7 @@ static void mtk_vcodec_dec_fill_h265_profile(struct v4l2_ctrl_config *cfg, default: cfg->max = V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE; break; - }; + } } static void mtk_vcodec_dec_fill_vp9_level(struct v4l2_ctrl_config *cfg, @@ -630,7 +630,7 @@ static void mtk_vcodec_dec_fill_vp9_level(struct v4l2_ctrl_config *cfg, default: cfg->max = V4L2_MPEG_VIDEO_VP9_LEVEL_4_0; break; - }; + } } static void mtk_vcodec_dec_fill_vp9_profile(struct v4l2_ctrl_config *cfg, @@ -644,7 +644,7 @@ static void mtk_vcodec_dec_fill_vp9_profile(struct v4l2_ctrl_config *cfg, default: cfg->max = V4L2_MPEG_VIDEO_VP9_PROFILE_1; break; - }; + } } static void mtk_vcodec_dec_reset_controls(struct v4l2_ctrl_config *cfg, @@ -680,7 +680,7 @@ static void mtk_vcodec_dec_reset_controls(struct v4l2_ctrl_config *cfg, break; default: break; - }; + } } static int mtk_vcodec_dec_ctrls_setup(struct mtk_vcodec_dec_ctx *ctx) -- 2.20.1.7.g153144c