Message ID | 20231224-n-s5p-mfc-const-v1-3-a3b246470fe4@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-10742-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp10556dyb; Sun, 24 Dec 2023 07:45:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IFytFpnDxpcA5jZDFNiUrxyKJtNdWoRsucMIF4UR+t7Vmjf6gP4/jCdmrbW6WElEGGWKC16 X-Received: by 2002:a05:6a20:2512:b0:193:fd0c:a268 with SMTP id j18-20020a056a20251200b00193fd0ca268mr5000602pzd.29.1703432745994; Sun, 24 Dec 2023 07:45:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703432745; cv=none; d=google.com; s=arc-20160816; b=T5cbgJtFsDUYXxzcDgl7MglVbTORp7YmjOlXOU8PSrxI3jBO1PADuBUoAMsqfKqMsQ Jys7zcnSN8w3XSpxaV/NhTDBBlZqc2TSLw/D4uw1CYcRRfUMYv0SIv4u3kvHZ1kXyQbK 46CJDZ9DYcKUZFvA1wqC19kmgBqL+pdDdkl7HtHiFnz7GbmYVTBOEhQNmWE37GABBUWl FMSa9l1M416xLEWTRIwv9mKt6heZ52kdhUBrSWRpB2glw0evPQf8OPoDRdNm+IYVh241 mrNxdzQFZfjpy4FqmBvQONMGbQqQ08CviXydg/6bTN5kElecU5EmU3I1cBFtteLfpn6Y feRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ifM++4CY2AN5j3GtGQa7Fr0Vq1Ud5nu9DCFmNuIoJ3U=; fh=nSSm1dUQDcfnFFwPmoq1SJ6NHxkx1o/ly8tYDPd/KV4=; b=neSpFgq9/lYbELes6PMgcCLkZPR8imKQiLEXdKdT8neD+OSDi4hTgYdLJUdeBtLTIy ZZqXQ3Yt5PPpGafY/DIjFybfNSWrCElMkXTdk06Gy3IvFmWqSGpHI86Z57kj0LfvsEgt m3KmKdYSE/tnfj8mQTmIiA23hwI89eyji/5tfq8ilkJT3Z39PaRvkuRbpIMQafcD7Fv6 HdW1AijtXW2j57PspLVwE05I4gmFUU0dKIUwRZzGX2pDbI/jEfeIVQKHtIoldNEtnSEg jj1nuKayamBj+7Lra8TskS0fl+k7teEGfQQLTwNV3oklLLp0t4LDHdS9yE7VHB6LOGFe SRNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e3gMYgXg; spf=pass (google.com: domain of linux-kernel+bounces-10742-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10742-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z2-20020a62d102000000b006d9ab421dc0si1922235pfg.374.2023.12.24.07.45.45 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 07:45:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10742-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e3gMYgXg; spf=pass (google.com: domain of linux-kernel+bounces-10742-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10742-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 B87A0281F5D for <ouuuleilei@gmail.com>; Sun, 24 Dec 2023 15:45:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 174D6D27D; Sun, 24 Dec 2023 15:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="e3gMYgXg" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D959CD26A for <linux-kernel@vger.kernel.org>; Sun, 24 Dec 2023 15:44:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-3368fe4dcb1so2117463f8f.1 for <linux-kernel@vger.kernel.org>; Sun, 24 Dec 2023 07:44:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703432673; x=1704037473; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ifM++4CY2AN5j3GtGQa7Fr0Vq1Ud5nu9DCFmNuIoJ3U=; b=e3gMYgXgFLp98BqoHoMagxiQmv972B+LRdq+gRJhLpkVmBSDHIkjXlZ2fTc/q3kj/y lrjDZfeP078Ozy3vDjyl29t9siJMD6CwekThFMkvyQkMSB7+RcvBbhbkHTwZfVtu4l1/ qxbLG2Rno64b2LnvsqHTs9bnV3yJ0ZQ+jXdQIw/W8L+8CXACdEo/ks4KnBLXhikz/CRq 6yeuu5R3tVzBUFDe9Zu/2vOn+KAg3hKVOwTpoUtlMIx78L9XZHiJajLLCyo9qztbURQZ MU8uxJ9rE776/GnNKuRBNz38RlySear/Gs9y/KC54wISRBOY0x62hebXD2lsqo9GE/Nf UkZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703432673; x=1704037473; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ifM++4CY2AN5j3GtGQa7Fr0Vq1Ud5nu9DCFmNuIoJ3U=; b=ctYgtx8+J/E9oCtJIf3hQqwQcKm6dHYrRnJzx6++YPaAcN497cynPTW5Ym6IOfQXX8 noPS/cN0oC07uRNhZLqZ2kr9Xvk9XrBy/eiRq1WB0dNrYrGLl4rnwBKqXweEPZHodJS6 Uo0cCST94ZkWyFn+rHW/EVYp4JVa2xoaPsIuN2g7144gwrsO2CQXloj2+d41D32MqTkz k7671m9SvbyAIRJ/lOzPHRJKWi7qzjkpBZKjRG8zAEghXjn9l4KILqgsuIOmguXeAoaE 7rKpfkIYOZ/KSpmYhFQSNYoLC9p8EHGrO2cnrQos2KZO9+Z8TCUKYHugUenergXYQYyE V7NQ== X-Gm-Message-State: AOJu0Yz5grECldPBHgUB3CimwXEqMImW7Tr1JvG63i2tLRp0/Qzkn3Nm 66qcsUKmpl7kdPh6v52/IMMZ3QFvB7UOVw== X-Received: by 2002:adf:e487:0:b0:336:78b0:fd8f with SMTP id i7-20020adfe487000000b0033678b0fd8fmr2382956wrm.101.1703432673212; Sun, 24 Dec 2023 07:44:33 -0800 (PST) Received: from [127.0.1.1] ([78.10.206.178]) by smtp.gmail.com with ESMTPSA id ge12-20020a170907908c00b00a26ac403032sm3325901ejb.65.2023.12.24.07.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 07:44:32 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Date: Sun, 24 Dec 2023 16:44:02 +0100 Subject: [PATCH 03/15] media: s5p-mfc: drop unused get_*_def_fmt declarations Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231224-n-s5p-mfc-const-v1-3-a3b246470fe4@linaro.org> References: <20231224-n-s5p-mfc-const-v1-0-a3b246470fe4@linaro.org> In-Reply-To: <20231224-n-s5p-mfc-const-v1-0-a3b246470fe4@linaro.org> To: Marek Szyprowski <m.szyprowski@samsung.com>, Andrzej Hajda <andrzej.hajda@intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Aakarsh Jain <aakarsh.jain@samsung.com>, linux-fsd@tesla.coma, linux-samsung-soc@vger.kernel.org, Smitha T Murthy <smithatmurthy@gmail.com>, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1709; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Bu9cKmlSyC4/w5f8uYZH7ftPdCwQqPqs5pc3w6+5vaA=; b=owEBfgKB/ZANAwAKAcE3ZuaGi4PXAcsmYgBliFHQ7Vv8mNU/Uxpc1qvHr4xaSsKIi9poePFpf f1r5W1+qCOJAkQEAAEKAC4WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZYhR0BAca3J6a0BrZXJu ZWwub3JnAAoJEME3ZuaGi4PXBS8P/0/+FdDNeDmfyhqYQhdrJRxp2qcJMuijQWYPzsQDgjPRVBO NJ8iJQ6h/pgLk+m5IZb2ntaXqvFEcLen9D5qfsVlhAe1onMQ0RddeGTbHt5MOvhvYaLjqNj8UKU J0gEzk6CPonUJx43LnK9KqXnLnidnluft8XlSDV1OglcZcz4xjWwQhNjWZCheDrj4FXi5/gE2bs SYnE9zlFNyqW2nbX41UT9mUWJ8eodpQccfCfD7k+9T3FLjfV5MSsXiGkhoG8zLFHvSO6Pg8ce0U hizPucD1vLcRdk0DaCWXMub3nEPn1g0udl00uXCQAv8VGUAx81tkIoo3ycDEJPHJYpjOG4//wia EzUpsWX9z1USZuaDteTh3SEZo1KvjnQPk5f8lTQ9Wx9kc8UDQbia7zC9//iINuEUh/6Xj/9s9D7 mv1VHCuzqrSBYJIWx1IN7y//BR+uBjqFWTHw5zrhFtK2nd8k42kEQjRNLvSFBFpLPjyl7x96nKg FEDCLxrKuB7vLuBQxDGcrBEFfd0rRfSYN/2rncGcXP1HS2ECGYPBgBPTYWStBVZ2izK4UtLCdcH 7+tWsuIrfiKuUR8iah19nLR344GWe1pv8fdJ2mez9SCCAei/0oW/g1c6HIr7dkpi2krMENbI30t o+py0zYY1w12LYWVJSn5w8ssGHgEQA/1O0RSI X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786178694772777041 X-GMAIL-MSGID: 1786178694772777041 |
Series |
media: s5p-mfc: cleanups
|
|
Commit Message
Krzysztof Kozlowski
Dec. 24, 2023, 3:44 p.m. UTC
get_dec_def_fmt() and get_enc_def_fmt() do not have definitions, so
their declarations are pointless.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h | 1 -
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h | 1 -
2 files changed, 2 deletions(-)
Comments
> -----Original Message----- > From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: 24 December 2023 21:14 > To: Marek Szyprowski <m.szyprowski@samsung.com>; Andrzej Hajda > <andrzej.hajda@intel.com>; Mauro Carvalho Chehab > <mchehab@kernel.org> > Cc: Aakarsh Jain <aakarsh.jain@samsung.com>; linux-fsd@tesla.coma; linux- > samsung-soc@vger.kernel.org; Smitha T Murthy > <smithatmurthy@gmail.com>; linux-arm-kernel@lists.infradead.org; linux- > media@vger.kernel.org; linux-kernel@vger.kernel.org; Krzysztof Kozlowski > <krzysztof.kozlowski@linaro.org> > Subject: [PATCH 03/15] media: s5p-mfc: drop unused get_*_def_fmt > declarations > > get_dec_def_fmt() and get_enc_def_fmt() do not have definitions, so their > declarations are pointless. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h | 1 - > drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h > b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h > index 0c52ab46cff7..d4310966a0c2 100644 > --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h > +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h > @@ -12,7 +12,6 @@ > const struct s5p_mfc_codec_ops *get_dec_codec_ops(void); struct > vb2_ops *get_dec_queue_ops(void); const struct v4l2_ioctl_ops > *get_dec_v4l2_ioctl_ops(void); -struct s5p_mfc_fmt > *get_dec_def_fmt(bool src); int s5p_mfc_dec_ctrls_setup(struct > s5p_mfc_ctx *ctx); void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx > *ctx); void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx); diff --git > a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h > b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h > index 3f1b1a037a4f..0cf08b8d40ff 100644 > --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h > +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h > @@ -12,7 +12,6 @@ > const struct s5p_mfc_codec_ops *get_enc_codec_ops(void); struct > vb2_ops *get_enc_queue_ops(void); const struct v4l2_ioctl_ops > *get_enc_v4l2_ioctl_ops(void); -struct s5p_mfc_fmt > *get_enc_def_fmt(bool src); int s5p_mfc_enc_ctrls_setup(struct > s5p_mfc_ctx *ctx); void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx > *ctx); void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx); > > -- > 2.34.1 Reviewed-by: Aakarsh Jain <aakarsh.jain@samsung.com> Thanks!
diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h index 0c52ab46cff7..d4310966a0c2 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.h @@ -12,7 +12,6 @@ const struct s5p_mfc_codec_ops *get_dec_codec_ops(void); struct vb2_ops *get_dec_queue_ops(void); const struct v4l2_ioctl_ops *get_dec_v4l2_ioctl_ops(void); -struct s5p_mfc_fmt *get_dec_def_fmt(bool src); int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx); void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx); void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx); diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h index 3f1b1a037a4f..0cf08b8d40ff 100644 --- a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h +++ b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.h @@ -12,7 +12,6 @@ const struct s5p_mfc_codec_ops *get_enc_codec_ops(void); struct vb2_ops *get_enc_queue_ops(void); const struct v4l2_ioctl_ops *get_enc_v4l2_ioctl_ops(void); -struct s5p_mfc_fmt *get_enc_def_fmt(bool src); int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx); void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx); void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);