From: "Dr. David Alan Gilbert" <[email protected]>
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 <[email protected]>
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
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
---
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
* [email protected] ([email protected]) wrote:
> From: "Dr. David Alan Gilbert" <[email protected]>
>
> 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 <[email protected]>
>
Note there's a bounce for:
Charles-Antoine Couret <[email protected]> (maintainer:GS1662 VIDEO SERIALIZER)
[email protected]
host mx0.mail.ovh.net [178.33.252.245]
SMTP error from remote mail server after RCPT TO:<[email protected]>:
550 5.1.1 <[email protected]>:
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 |_______/
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
---
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
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
---
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