Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2619095rdb; Mon, 25 Dec 2023 21:48:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHj+7+XrTkt3LMVkCbrpTOy6/wMVl5xINmFjgJcTtzAOqoGrP1VY1St1BK7S56Nz/HhjgDw X-Received: by 2002:a05:6a21:998e:b0:18f:97c:3853 with SMTP id ve14-20020a056a21998e00b0018f097c3853mr7299395pzb.45.1703569731821; Mon, 25 Dec 2023 21:48:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703569731; cv=none; d=google.com; s=arc-20160816; b=rPcZQ80EOQqfECVY+cWf99/CNGHg8k1Kz5fy/+B+J+aPLQMHG/7tJlWD4fEebMfcKU EkjCrkvjdIPX0X7GVwoG4LyDVb2wjMCjYCUz3RR0k2UwbMPIGIi3q+Wh2MOiIiUCp1PD RZEWANguQyEYYOlUKm/9ys6ZTgQQi6kvHTHpq3Ejt3kabLdV3Tav+3HcY7SdmdpGD/9y MbDjDd3eTu1enA1bR3v6PgQ5oOMgZxBJ30W2LDqR7rW3aaHmYqND6p9Kk0FCLjWpaJ88 ycw27SFI6CcN/yKNMnLcFs8AY7eoJs9LLsxvw9jMHUeikOu4Fuin376Gm8p1z/taGgkP rhkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:dlp-filter:cms-type:content-language:thread-index :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject :in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=yakKDh1aAxqR67PPB8zgJ2H9KaDZW3RdwYfn1iPKbnk=; fh=CXEvV4D9al8uG+m7ESIM93zbXzIbzedk6YhHewxcqLI=; b=ljMfG/b7jDuhv/wxdXl82iIJ3MXw156Dbg2LUNaFVNcehWeKyKpHCiCYGcuNYKgXr8 YxgdgEpEGMWYwHIily3NmbRrBXIclzryNwcSAjFk6BNxWvOJ36LjAV6P6OEeNOMIR7BV fs7mOYXqDV0zm/jZFt4jE2TGcdYHWOLDffYqkeI0nrXVSxMZ5z2IzceoVkfjawMOFTLQ yoNo5pIwx3LmRWUCbYPRABF+fKu7HF1TpO4UGkxkIM3NlxNqEoOHtX33OOd3/owiC6IO DD19xanPmdp4Y1F7kOerj75w+KO0R6nuvY7k8wRRUwxxzqzNTD3BvM8lRnTvSwXPwpLV tkLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mSrS5zD0; spf=pass (google.com: domain of linux-kernel+bounces-11375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bm5-20020a056a00320500b006d9a602dc04si4611521pfb.32.2023.12.25.21.48.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 21:48:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mSrS5zD0; spf=pass (google.com: domain of linux-kernel+bounces-11375-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7395128178B for ; Tue, 26 Dec 2023 05:48:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4E8A4BA96; Tue, 26 Dec 2023 05:48:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="mSrS5zD0" X-Original-To: linux-kernel@vger.kernel.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D2B44B5C5 for ; Tue, 26 Dec 2023 05:48:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from epcas5p3.samsung.com (unknown [182.195.41.41]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20231226054837epoutp04544b79e2842b4d72d26fb4984b906268~kS6HI9tMH0141601416epoutp04M for ; Tue, 26 Dec 2023 05:48:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20231226054837epoutp04544b79e2842b4d72d26fb4984b906268~kS6HI9tMH0141601416epoutp04M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1703569717; bh=yakKDh1aAxqR67PPB8zgJ2H9KaDZW3RdwYfn1iPKbnk=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=mSrS5zD0wXxiTcANdZkIyRI5PZ5QT0iXCYnqq2Q8V9GcpyhGagpXvNiDIb3hys4nd MzapTe4E7z+StVDK5DD1CS9mePAMfYeoSpyT5CboY6ByRk4nZjRU+16aTEOvSgJ6VH D2XnQa6WBKIKZIiP6jpCeSF8LZr+zPhHr6BxBSV4= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20231226054836epcas5p3239eaf44d85bd2419f73e93e54269918~kS6GvCxlP2534425344epcas5p3p; Tue, 26 Dec 2023 05:48:36 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.180]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4SzkN26QWyz4x9Q7; Tue, 26 Dec 2023 05:48:34 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 6F.E1.09672.2396A856; Tue, 26 Dec 2023 14:48:34 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20231226051218epcas5p12bec72a809babec505f85bfa19793a0d~kSaZw_KnS2823728237epcas5p1f; Tue, 26 Dec 2023 05:12:18 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231226051218epsmtrp10e95ee097f783a0f5ba73053639a628b~kSaZwQ-LQ0965709657epsmtrp1Y; Tue, 26 Dec 2023 05:12:18 +0000 (GMT) X-AuditID: b6c32a4b-60bfd700000025c8-14-658a69326ad4 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id A9.43.07368.2B06A856; Tue, 26 Dec 2023 14:12:18 +0900 (KST) Received: from FDSFTE308 (unknown [107.122.81.79]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20231226051216epsmtip25b9d639c0f5c64a35e7ae26a54dcda25~kSaYMIL3L3188831888epsmtip2U; Tue, 26 Dec 2023 05:12:16 +0000 (GMT) From: "Aakarsh Jain" To: "'Krzysztof Kozlowski'" , "'Marek Szyprowski'" , "'Andrzej Hajda'" , "'Mauro Carvalho Chehab'" Cc: , , "'Smitha T Murthy'" , , , In-Reply-To: <20231224-n-s5p-mfc-const-v1-2-a3b246470fe4@linaro.org> Subject: RE: [PATCH 02/15] media: s5p-mfc: drop unused static s5p_mfc_ops Date: Tue, 26 Dec 2023 10:42:15 +0530 Message-ID: <15cf01da37ba$18936ad0$49ba4070$@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKOGlHY6WxiJqLoSx78067AznjgmAFJzwIkAnbPk3avNTqAkA== Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrGJsWRmVeSWpSXmKPExsWy7bCmuq5RZleqwe/Dxhb3F39msdj7eiu7 xabH11gtls0Osri8aw6bRc+GrawWM87vY7JYe+Quu8WyTX+YLFoal7A6cHnsnHWX3WPxnpdM HptWdbJ53Lm2h81j85J6j74tqxg9/r5+xebxeZNcAEdUtk1GamJKapFCal5yfkpmXrqtkndw vHO8qZmBoa6hpYW5kkJeYm6qrZKLT4CuW2YO0IlKCmWJOaVAoYDE4mIlfTubovzSklSFjPzi Elul1IKUnAKTAr3ixNzi0rx0vbzUEitDAwMjU6DChOyMKzNDCnYLVLxaMpWpgXE6XxcjJ4eE gInEnxV/2EBsIYHdjBIPZxtA2J8YJY48lehi5AKyvzFKLNj0hBGm4eLt38wQRXsZJe5854Yo es4osfBVL1gRm4C+xP1TPawgCRGBc4wS2/qnMIE4zAI3GSWOvZkJ1s4p4CJxd9MdsA5hAU+J 270PwO5gEVCVOLTnCQuIzStgKbHj+H9GCFtQ4uRMiDizgLbEsoWvmSFOUpD4+XQZK4gtIuAk 0XJ5DzNEjbjE0Z89zCCLJQSOcEj8/r2DHaLBReLmk0msELawxKvjW6DiUhIv+9ug7GSJx4te Qi3IkVi/ZwoLhG0vceDKHCCbA2iBpsT6XfoQYVmJqafWMUHs5ZPo/f2ECSLOK7FjHoytJjHn zg+otTISh1cvZZzAqDQLyWuzkLw2C8kLsxC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mGBYZ5qeV6xYm5xaV56XrJ+bmbGMGxqKWxg/He/H96hxiZOBgPMUpwMCuJ8MoqdqQK 8aYkVlalFuXHF5XmpBYfYpTmYFES5zWcMTtFSCA9sSQ1OzW1ILUIJsvEwSnVwLRj+131+11/ j83nO744YnGg9fxT80Sl7pbJ2c1zm8B7Nt1bWPHJw4bNT9/wPuc/XMA9957G34rDGUKRZzc4 axfPfnZogrPzqfQjda/Vln8LbxCYo7/L5/TljN8Ce33SWGNKDFtdMx9dyT5+fO6RJQLTm2tc 7+3RMnVdpi3+epHZkzNFU65nJjnfUPUWPLeRteJUxLYWA9llD74kuMedTnhmdmLurwN326r+ 8yjHvjqYv+a+9ravx426J1h9zLot+MknTM9N7e0cw3m6wSfrswxbw1sP5G7dFJF2Tt6vxUfq 7d7dTy5G/Vjik6b/lPe9bNxdUc8D/vFSr3Zuei9/Xd1ctNv679etqdMCfr0rzmVUYinOSDTU Yi4qTgQAX6GZmDQDAAA= X-CMS-MailID: 20231226051218epcas5p12bec72a809babec505f85bfa19793a0d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231224154437epcas5p4ce3d24f3cbdc4ad25b215f14c5bccd3e References: <20231224-n-s5p-mfc-const-v1-0-a3b246470fe4@linaro.org> <20231224-n-s5p-mfc-const-v1-2-a3b246470fe4@linaro.org> > -----Original Message----- > From: Krzysztof Kozlowski > Sent: 24 December 2023 21:14 > To: Marek Szyprowski ; Andrzej Hajda > ; Mauro Carvalho Chehab > > Cc: Aakarsh Jain ; linux-fsd=40tesla.coma; li= nux- > samsung-soc=40vger.kernel.org; Smitha T Murthy > ; linux-arm-kernel=40lists.infradead.org; linu= x- > media=40vger.kernel.org; linux-kernel=40vger.kernel.org; Krzysztof Kozlow= ski > > Subject: =5BPATCH 02/15=5D media: s5p-mfc: drop unused static s5p_mfc_ops >=20 > File-scope static variable =22s5p_mfc_ops=22 is not read after assignment= , thus it > can be dropped entirely. >=20 > Signed-off-by: Krzysztof Kozlowski > --- > drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.c =7C 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) >=20 > diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.c > b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.c > index 673962301173..5ba791fa3676 100644 > --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.c > +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.c > =40=40 -14,18 +14,15 =40=40 > =23include =22s5p_mfc_opr_v5.h=22 > =23include =22s5p_mfc_opr_v6.h=22 >=20 > -static struct s5p_mfc_hw_ops *s5p_mfc_ops; > - > void s5p_mfc_init_hw_ops(struct s5p_mfc_dev *dev) =7B > if (IS_MFCV6_PLUS(dev)) =7B > - s5p_mfc_ops =3D s5p_mfc_init_hw_ops_v6(); > + dev->mfc_ops =3D s5p_mfc_init_hw_ops_v6(); > dev->warn_start =3D S5P_FIMV_ERR_WARNINGS_START_V6; > =7D else =7B > - s5p_mfc_ops =3D s5p_mfc_init_hw_ops_v5(); > + dev->mfc_ops =3D s5p_mfc_init_hw_ops_v5(); > dev->warn_start =3D S5P_FIMV_ERR_WARNINGS_START; > =7D > - dev->mfc_ops =3D s5p_mfc_ops; > =7D >=20 > void s5p_mfc_init_regs(struct s5p_mfc_dev *dev) >=20 > -- > 2.34.1 Reviewed-by: Aakarsh Jain Thanks=21