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 3/4] media: i2c: tw9910: remove unused strust 'regval_list'
Date: Fri, 24 May 2024 17:48:50 +0100	[thread overview]
Message-ID: <20240524164851.184467-4-linux@treblig.org> (raw)
In-Reply-To: <20240524164851.184467-1-linux@treblig.org>

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

'regval_list' has been unused since
commit 398994c1e104 ("V4L/DVB (13666): tw9910: modify V/H outpit pin
setting to use VALID").

Remove it.

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

diff --git a/drivers/media/i2c/tw9910.c b/drivers/media/i2c/tw9910.c
index 905af98c7d53..6dffaaa9ed56 100644
--- a/drivers/media/i2c/tw9910.c
+++ b/drivers/media/i2c/tw9910.c
@@ -212,11 +212,6 @@
  * structure
  */
 
-struct regval_list {
-	unsigned char reg_num;
-	unsigned char value;
-};
-
 struct tw9910_scale_ctrl {
 	char           *name;
 	unsigned short  width;
-- 
2.45.1


  parent 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 ` [PATCH 1/4] media: i2c: dw9768: remove unused struct 'regval_list' linux
2024-05-24 16:48 ` [PATCH 2/4] media: i2c: ks0127: remove unused struct 'adjust' linux
2024-05-24 16:48 ` linux [this message]
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-4-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