Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2619028rdb; Mon, 25 Dec 2023 21:48:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdP/r5D7YO4yWRc9Vrm6aDSEA+tBvHU8Vx4T6FD2ACQz1QnB19zizPAHvTJIour6TezDKr X-Received: by 2002:a17:906:51ce:b0:a26:f5e9:80a1 with SMTP id v14-20020a17090651ce00b00a26f5e980a1mr426876ejk.120.1703569714867; Mon, 25 Dec 2023 21:48:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703569714; cv=none; d=google.com; s=arc-20160816; b=wyDc9UxOeh0mdS7oyXYAPTlcjUEpEN4Sf/NwIRJ53+r/xoe8hzUeiX3+BOFkcRXYJl wqWBord6SlG35+5esSQTBXidBy1eWAHPGoo33kKPEVGkp5RnFT+gubPsXYxxVlX1a71U NJMMU59TVY7ZfvAQCHPtU9pE3MhoKXiLlompKwWvz3lW5dAFDWQ0mxm1GvyxqsXxZDLs KBVYi1mrNtY4p2ZCPQBFMeMvR6LpF742pT9vjwHwafO8FEe6RZR63xOKnxMjfAsCCswz f0DSxofhwO/IuFa83A0IO+4uY7hYsA0b8IjEOcsdm5C+jH/iHIVqcni+jPwRR6K+WOQj ogRA== 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=kstvCx6jNVu2CCvkXsM3Qz2KWSJ0p2P53GBZD83dv0o=; fh=CXEvV4D9al8uG+m7ESIM93zbXzIbzedk6YhHewxcqLI=; b=0QRHtc8VV+TnMu7Oz2izIY+qmv5ydyRBB93yqUjhR+mtmaHzADhmv5SextZnA/FX2F Mgjprk5goyu+ABIJcbRBJF7FlS0gst5b7EhmsKy8dyvna7a99Qp/x9OoEucmMHOVM+/v vTixu4nRysujCHK2OQyLKcX62cfZCtKoVmoPnGXOcmR+iMjo3zzeNf+GwlrF/SDBjNA2 3gOBpb843LzMDt88I46us2R30CSP/l0L5+tug+I/Oqzo5dxVme201rC8wDw9I6katm+J OtU/tksFIzIYO4LTYuZQZPz1SYq2vOp/DVufG7gKZggWqCTPqJwrJE1n4YcJXyZFCfXg Mw5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=K2029mDN; spf=pass (google.com: domain of linux-kernel+bounces-11374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11374-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lv16-20020a170906bc9000b00a234083ad88si4937079ejb.1051.2023.12.25.21.48.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 21:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=K2029mDN; spf=pass (google.com: domain of linux-kernel+bounces-11374-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11374-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7631B1F226FC for ; Tue, 26 Dec 2023 05:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3C644BA82; Tue, 26 Dec 2023 05:48:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="K2029mDN" X-Original-To: linux-kernel@vger.kernel.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (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 A24644B5C0 for ; Tue, 26 Dec 2023 05:48:23 +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 epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20231226054821epoutp022d25ffd5e5f67d38798d206a5679e956~kS54SuGsU1993419934epoutp02U for ; Tue, 26 Dec 2023 05:48:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20231226054821epoutp022d25ffd5e5f67d38798d206a5679e956~kS54SuGsU1993419934epoutp02U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1703569701; bh=kstvCx6jNVu2CCvkXsM3Qz2KWSJ0p2P53GBZD83dv0o=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=K2029mDNYn+jYNExDA/hH4G2/hco+joImX2Mdn3/Cvj0w/Oxs668LjAs42pfKBXTH dFkdqGjB9M12nPk6d9SbWbNz+N02ZwqEaMWxgVYQz3raAf28J0Gx0i0QMoNHqlL6e4 X37mH9rybpflPRrmP6ibCw4y/1+J0uemYaVtnAeQ= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20231226054820epcas5p31a07a71b0994a17837dc1adecf82b022~kS531Jw002282622826epcas5p3V; Tue, 26 Dec 2023 05:48:20 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.175]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4SzkMk6J13z4x9Q7; Tue, 26 Dec 2023 05:48:18 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id E5.E1.09672.2296A856; Tue, 26 Dec 2023 14:48:18 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20231226051014epcas5p1b824a015d457f7c9384f8942f2bcb97b~kSYmk7WxY2028320283epcas5p1a; Tue, 26 Dec 2023 05:10:14 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231226051014epsmtrp115ce0d8c3313d5951fa61b70d4946a6d~kSYmkRGgw0840308403epsmtrp1U; Tue, 26 Dec 2023 05:10:14 +0000 (GMT) X-AuditID: b6c32a4b-60bfd700000025c8-e8-658a692243e7 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id EC.23.07368.6306A856; Tue, 26 Dec 2023 14:10:14 +0900 (KST) Received: from FDSFTE308 (unknown [107.122.81.79]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231226051012epsmtip136aed81b9125ce7e0827b5c0edde16b1~kSYlBRcj_3214032140epsmtip1D; Tue, 26 Dec 2023 05:10:12 +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-1-a3b246470fe4@linaro.org> Subject: RE: [PATCH 01/15] media: s5p-mfc: drop unused static s5p_mfc_cmds Date: Tue, 26 Dec 2023 10:40:11 +0530 Message-ID: <15ce01da37b9$cede8d20$6c9ba760$@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: AQKOGlHY6WxiJqLoSx78067AznjgmAHo/W/vAklP6R+vMaxvAA== Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFJsWRmVeSWpSXmKPExsWy7bCmuq5SZleqwcR+fYv7iz+zWOx9vZXd YtPja6wWy2YHWVzeNYfNomfDVlaLGef3MVmsPXKX3WLZpj9MFi2NS1gduDx2zrrL7rF4z0sm j02rOtk87lzbw+axeUm9R9+WVYwef1+/YvP4vEkugCMq2yYjNTEltUghNS85PyUzL91WyTs4 3jne1MzAUNfQ0sJcSSEvMTfVVsnFJ0DXLTMH6EQlhbLEnFKgUEBicbGSvp1NUX5pSapCRn5x ia1SakFKToFJgV5xYm5xaV66Xl5qiZWhgYGRKVBhQnbGhxNbmQom81cs+bSHuYGxm7eLkZND QsBEYvavHuYuRi4OIYHdjBKHH75lg3A+MUr8OdEElfkGlFn5jg2mZdHWfVBVexkl9j6bxQTh PGeUeH1kJwtIFZuAvsT9Uz2sIAkRgXOMEtv6p4BVMQvcZJQ49mYmM0gVp4CLRPuzXYwgtrCA l8SRu4fAulkEVCUmX3jFBGLzClhK/NwwnxHCFpQ4OfMJWA2zgLbEsoWvmSFuUpD4+XQZK4gt IuAk8eTyLjaIGnGJoz8h3pMQOMIh0b5kE1SDi8SefXdYIGxhiVfHt7BD2FISL/vboOxkiceL XkLV50is3zMFqt5e4sCVOUA2B9ACTYn1u/QhwrISU0+tY4LYyyfR+/sJE0ScV2LHPBhbTWLO nR+sELaMxOHVSxknMCrNQvLaLCSvzULywiyEbQsYWVYxSqYWFOempxabFhjnpZbD4zw5P3cT IzgR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Yz35v/TO8TIxMF4iFGCg1lJhFdWsSNV iDclsbIqtSg/vqg0J7X4EKM0B4uSOK/hjNkpQgLpiSWp2ampBalFMFkmDk6pBqbol5IfDjtd a74pIBadO+PUipa2PXfMVh59vpf1vtvMPd0qXyfPy7a66bjH8O4rvXBtHv5DTzdOZRfOPpJr Xh4X9nnOkhclndEzBNRLFmVHzwwr7mXaeHvx3VkrRVJf3FuoVCZduonTvfKql6fr5OMK10tn VR3d81OeZ86cU0cco9eq/9Wq6ztp0KkV2H9ERGHW3wfrapT6ll/deXX5Vfb87bVBV+zzlz7O mbDo6gTeO3+kvDIeZJzR1lone27FrXsTON76B15xtGD/zHlq76nNR5Y9ucYfN+vdpZcNnGtv /tvHsZ7p/dVH2tGv/ZV/HJywehb/5RY2XefYNROt4/9oc6zT2WRvav3pQFtfXZStrxJLcUai oRZzUXEiAKwMUM80AwAA X-CMS-MailID: 20231226051014epcas5p1b824a015d457f7c9384f8942f2bcb97b 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: 20231224154435epcas5p11c17dce71c5ce263c8028a43b401aa22 References: <20231224-n-s5p-mfc-const-v1-0-a3b246470fe4@linaro.org> <20231224-n-s5p-mfc-const-v1-1-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 01/15=5D media: s5p-mfc: drop unused static s5p_mfc_cmd= s >=20 > File-scope static variable =22s5p_mfc_cmds=22 is not read after assignmen= t, thus > it can be dropped entirely. >=20 > Signed-off-by: Krzysztof Kozlowski > --- > drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c =7C 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) >=20 > diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c > b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c > index 774c573dc075..196d8c99647b 100644 > --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c > +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_cmd.c > =40=40 -12,14 +12,10 =40=40 > =23include =22s5p_mfc_cmd_v5.h=22 > =23include =22s5p_mfc_cmd_v6.h=22 >=20 > -static struct s5p_mfc_hw_cmds *s5p_mfc_cmds; > - > void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev) =7B > if (IS_MFCV6_PLUS(dev)) > - s5p_mfc_cmds =3D s5p_mfc_init_hw_cmds_v6(); > + dev->mfc_cmds =3D s5p_mfc_init_hw_cmds_v6(); > else > - s5p_mfc_cmds =3D s5p_mfc_init_hw_cmds_v5(); > - > - dev->mfc_cmds =3D s5p_mfc_cmds; > + dev->mfc_cmds =3D s5p_mfc_init_hw_cmds_v5(); > =7D >=20 > -- > 2.34.1 Reviewed-by: Aakarsh Jain Thanks=21