* [PATCH 0/3] media dead struct removal
@ 2024-05-25 17:52 linux
2024-05-25 17:52 ` [PATCH 1/3] media: gs1662: remove unused struct 'gs_reg_fmt_custom' linux
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: linux @ 2024-05-25 17:52 UTC (permalink / raw)
To: mchehab, charles-antoine.couret, isely
Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
Dead struct removal in spi and usb.
(These are the last of my struct removal in media as
far as I know).
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Dave
Dr. David Alan Gilbert (3):
media: gs1662: remove unused struct 'gs_reg_fmt_custom'
media: opera1: remove unused struct 'rc_map_opera_table'
media: pvrusb2: remove unused struct 'debugifc_mask_item'
drivers/media/spi/gs1662.c | 8 --------
drivers/media/usb/dvb-usb/opera1.c | 4 ----
drivers/media/usb/pvrusb2/pvrusb2-debugifc.c | 5 -----
3 files changed, 17 deletions(-)
--
2.45.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] media: gs1662: remove unused struct 'gs_reg_fmt_custom'
2024-05-25 17:52 [PATCH 0/3] media dead struct removal linux
@ 2024-05-25 17:52 ` linux
2024-05-25 17:52 ` [PATCH 2/3] media: opera1: remove unused struct 'rc_map_opera_table' linux
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: linux @ 2024-05-25 17:52 UTC (permalink / raw)
To: mchehab, charles-antoine.couret, isely
Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'gs_reg_fmt_custom' is unused since the original
commit 7aae6e2df127 ("[media] Add GS1662 driver, a video
serializer").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
drivers/media/spi/gs1662.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/media/spi/gs1662.c b/drivers/media/spi/gs1662.c
index dc5c4c055d29..7adf55fd0707 100644
--- a/drivers/media/spi/gs1662.c
+++ b/drivers/media/spi/gs1662.c
@@ -55,14 +55,6 @@ struct gs_reg_fmt {
struct v4l2_dv_timings format;
};
-struct gs_reg_fmt_custom {
- u16 reg_value;
- __u32 width;
- __u32 height;
- __u64 pixelclock;
- __u32 interlaced;
-};
-
static const struct spi_device_id gs_id[] = {
{ "gs1662", 0 },
{ }
--
2.45.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] media: opera1: remove unused struct 'rc_map_opera_table'
2024-05-25 17:52 [PATCH 0/3] media dead struct removal linux
2024-05-25 17:52 ` [PATCH 1/3] media: gs1662: remove unused struct 'gs_reg_fmt_custom' linux
@ 2024-05-25 17:52 ` linux
2024-05-25 17:52 ` [PATCH 3/3] media: pvrusb2: remove unused struct 'debugifc_mask_item' linux
2024-05-25 17:55 ` [PATCH 0/3] media dead struct removal Dr. David Alan Gilbert
3 siblings, 0 replies; 5+ messages in thread
From: linux @ 2024-05-25 17:52 UTC (permalink / raw)
To: mchehab, charles-antoine.couret, isely
Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'rc_map_opera_table' has been unused since
commit 2f4f58d689dd ("[media] rc: Name RC keymap tables as
rc_map_table").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
drivers/media/usb/dvb-usb/opera1.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/media/usb/dvb-usb/opera1.c b/drivers/media/usb/dvb-usb/opera1.c
index d269f8bb2dee..268f05fc8691 100644
--- a/drivers/media/usb/dvb-usb/opera1.c
+++ b/drivers/media/usb/dvb-usb/opera1.c
@@ -32,10 +32,6 @@
struct opera1_state {
u32 last_key_pressed;
};
-struct rc_map_opera_table {
- u32 keycode;
- u32 event;
-};
static int dvb_usb_opera1_debug;
module_param_named(debug, dvb_usb_opera1_debug, int, 0644);
--
2.45.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] media: pvrusb2: remove unused struct 'debugifc_mask_item'
2024-05-25 17:52 [PATCH 0/3] media dead struct removal linux
2024-05-25 17:52 ` [PATCH 1/3] media: gs1662: remove unused struct 'gs_reg_fmt_custom' linux
2024-05-25 17:52 ` [PATCH 2/3] media: opera1: remove unused struct 'rc_map_opera_table' linux
@ 2024-05-25 17:52 ` linux
2024-05-25 17:55 ` [PATCH 0/3] media dead struct removal Dr. David Alan Gilbert
3 siblings, 0 replies; 5+ messages in thread
From: linux @ 2024-05-25 17:52 UTC (permalink / raw)
To: mchehab, charles-antoine.couret, isely
Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'debugifc_mask_item' is unused since
commit 681c73994401 ("V4L/DVB (6691): pvrusb2: Rework pipeline state
control").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
drivers/media/usb/pvrusb2/pvrusb2-debugifc.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-debugifc.c b/drivers/media/usb/pvrusb2/pvrusb2-debugifc.c
index 84cfb5ce8b8d..81d711269ab5 100644
--- a/drivers/media/usb/pvrusb2/pvrusb2-debugifc.c
+++ b/drivers/media/usb/pvrusb2/pvrusb2-debugifc.c
@@ -9,11 +9,6 @@
#include "pvrusb2-hdw.h"
#include "pvrusb2-debug.h"
-struct debugifc_mask_item {
- const char *name;
- unsigned long msk;
-};
-
static unsigned int debugifc_count_whitespace(const char *buf,
unsigned int count)
--
2.45.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] media dead struct removal
2024-05-25 17:52 [PATCH 0/3] media dead struct removal linux
` (2 preceding siblings ...)
2024-05-25 17:52 ` [PATCH 3/3] media: pvrusb2: remove unused struct 'debugifc_mask_item' linux
@ 2024-05-25 17:55 ` Dr. David Alan Gilbert
3 siblings, 0 replies; 5+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-25 17:55 UTC (permalink / raw)
To: mchehab, isely; +Cc: linux-media, linux-kernel
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> Dead struct removal in spi and usb.
>
> (These are the last of my struct removal in media as
> far as I know).
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
>
Note there's a bounce for:
Charles-Antoine Couret <charles-antoine.couret@nexvision.fr> (maintainer:GS1662 VIDEO SERIALIZER)
charles-antoine.couret@nexvision.fr
host mx0.mail.ovh.net [178.33.252.245]
SMTP error from remote mail server after RCPT TO:<charles-antoine.couret@nexvision.fr>:
550 5.1.1 <charles-antoine.couret@nexvision.fr>:
Recipient address rejected: User unknown
> Dave
>
> Dr. David Alan Gilbert (3):
> media: gs1662: remove unused struct 'gs_reg_fmt_custom'
> media: opera1: remove unused struct 'rc_map_opera_table'
> media: pvrusb2: remove unused struct 'debugifc_mask_item'
>
> drivers/media/spi/gs1662.c | 8 --------
> drivers/media/usb/dvb-usb/opera1.c | 4 ----
> drivers/media/usb/pvrusb2/pvrusb2-debugifc.c | 5 -----
> 3 files changed, 17 deletions(-)
>
> --
> 2.45.1
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-05-25 17:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25 17:52 [PATCH 0/3] media dead struct removal linux
2024-05-25 17:52 ` [PATCH 1/3] media: gs1662: remove unused struct 'gs_reg_fmt_custom' linux
2024-05-25 17:52 ` [PATCH 2/3] media: opera1: remove unused struct 'rc_map_opera_table' linux
2024-05-25 17:52 ` [PATCH 3/3] media: pvrusb2: remove unused struct 'debugifc_mask_item' linux
2024-05-25 17:55 ` [PATCH 0/3] media dead struct removal Dr. David Alan Gilbert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.