Commit 5398b622152767aa70f2ac92d952c4c045aa86b5

Authored by Jean Delvare
Committed by Mauro Carvalho Chehab
1 parent 945b876600

[media] zoran: Drop unused module parameters encoder and decoder

The ability to force the encoder or decoder chip was broken by commit
0ab6e1c38d80ab586e3a1ca9e71844131d9f51dc in February 2009. As nobody
complained for over 2 years, I take it that these parameters were no
longer used so we can simply drop them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

Showing 2 changed files with 0 additions and 9 deletions Side-by-side Diff

Documentation/video4linux/Zoran
... ... @@ -130,7 +130,6 @@
130 130  
131 131 Note: No module for the mse3000 is available yet
132 132 Note: No module for the vpx3224 is available yet
133   -Note: use encoder=X or decoder=X for non-default i2c chips
134 133  
135 134 ===========================
136 135  
drivers/media/video/zoran/zoran_card.c
... ... @@ -64,14 +64,6 @@
64 64 module_param_array(card, int, NULL, 0444);
65 65 MODULE_PARM_DESC(card, "Card type");
66 66  
67   -static int encoder[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 };
68   -module_param_array(encoder, int, NULL, 0444);
69   -MODULE_PARM_DESC(encoder, "Video encoder chip");
70   -
71   -static int decoder[BUZ_MAX] = { [0 ... (BUZ_MAX-1)] = -1 };
72   -module_param_array(decoder, int, NULL, 0444);
73   -MODULE_PARM_DESC(decoder, "Video decoder chip");
74   -
75 67 /*
76 68 The video mem address of the video card.
77 69 The driver has a little database for some videocards