The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: linux@treblig.org
To: mchehab@kernel.org, sakari.ailus@linux.intel.com,
	hverkuil-cisco@xs4all.nl
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Dr. David Alan Gilbert" <linux@treblig.org>
Subject: [PATCH 1/4] media: i2c: dw9768: remove unused struct 'regval_list'
Date: Fri, 24 May 2024 17:48:48 +0100	[thread overview]
Message-ID: <20240524164851.184467-2-linux@treblig.org> (raw)
In-Reply-To: <20240524164851.184467-1-linux@treblig.org>

From: "Dr. David Alan Gilbert" <linux@treblig.org>

'regval_list' is unused since the original
commit 859891228e56 ("media: i2c: dw9768: Add DW9768 VCM driver")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/media/i2c/dw9768.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/media/i2c/dw9768.c b/drivers/media/i2c/dw9768.c
index daabbece8c7e..18ef2b35c9aa 100644
--- a/drivers/media/i2c/dw9768.c
+++ b/drivers/media/i2c/dw9768.c
@@ -115,11 +115,6 @@ static inline struct dw9768 *sd_to_dw9768(struct v4l2_subdev *subdev)
 	return container_of(subdev, struct dw9768, sd);
 }
 
-struct regval_list {
-	u8 reg_num;
-	u8 value;
-};
-
 struct dw9768_aac_mode_ot_multi {
 	u32 aac_mode_enum;
 	u32 ot_multi_base100;
-- 
2.45.1


  reply	other threads:[~2024-05-24 16:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 16:48 [PATCH 0/4] Dead structs in media/i2c linux
2024-05-24 16:48 ` linux [this message]
2024-05-24 16:48 ` [PATCH 2/4] media: i2c: ks0127: remove unused struct 'adjust' linux
2024-05-24 16:48 ` [PATCH 3/4] media: i2c: tw9910: remove unused strust 'regval_list' linux
2024-05-24 16:48 ` [PATCH 4/4] media: i2c: adv7511: remove unused struct 'i2c_reg_value' linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240524164851.184467-2-linux@treblig.org \
    --to=linux@treblig.org \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox