diff options
author | Marc Koschewski <marc@osknowledge.org> | 2006-01-09 15:21:35 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-09 15:21:35 -0500 |
commit | 00e34579feb563ca663be82d977c90241824503e (patch) | |
tree | d49b9ba90b4f01cf13938a030384da24fbaef2ce | |
parent | 5ba4cc97786e23c3ef96b9c29c797ef5d0251330 (diff) |
V4L/DVB (3322): Whitespace cleanup and unused code removed
- Some whitespaces cleaned up
- unused code removed
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r-- | drivers/media/dvb/dvb-usb/nova-t-usb2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/dvb/dvb-usb/nova-t-usb2.c b/drivers/media/dvb/dvb-usb/nova-t-usb2.c index fac48fc7a4ac..412039d8dbae 100644 --- a/drivers/media/dvb/dvb-usb/nova-t-usb2.c +++ b/drivers/media/dvb/dvb-usb/nova-t-usb2.c | |||
@@ -129,10 +129,6 @@ static int nova_t_read_mac_address (struct dvb_usb_device *d, u8 mac[6]) | |||
129 | dibusb_read_eeprom_byte(d,i, &b); | 129 | dibusb_read_eeprom_byte(d,i, &b); |
130 | 130 | ||
131 | mac[5 - (i - 136)] = b; | 131 | mac[5 - (i - 136)] = b; |
132 | |||
133 | /* deb_ee("%02x ",b); | ||
134 | if ((i+1) % 16 == 0) | ||
135 | deb_ee("\n");*/ | ||
136 | } | 132 | } |
137 | 133 | ||
138 | return 0; | 134 | return 0; |
@@ -153,7 +149,7 @@ static struct usb_device_id nova_t_table [] = { | |||
153 | /* 01 */ { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_WINTV_NOVA_T_USB2_WARM) }, | 149 | /* 01 */ { USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_WINTV_NOVA_T_USB2_WARM) }, |
154 | { } /* Terminating entry */ | 150 | { } /* Terminating entry */ |
155 | }; | 151 | }; |
156 | MODULE_DEVICE_TABLE (usb, nova_t_table); | 152 | MODULE_DEVICE_TABLE(usb, nova_t_table); |
157 | 153 | ||
158 | static struct dvb_usb_properties nova_t_properties = { | 154 | static struct dvb_usb_properties nova_t_properties = { |
159 | .caps = DVB_USB_HAS_PID_FILTER | DVB_USB_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_IS_AN_I2C_ADAPTER, | 155 | .caps = DVB_USB_HAS_PID_FILTER | DVB_USB_PID_FILTER_CAN_BE_TURNED_OFF | DVB_USB_IS_AN_I2C_ADAPTER, |
@@ -198,6 +194,7 @@ static struct dvb_usb_properties nova_t_properties = { | |||
198 | { &nova_t_table[0], NULL }, | 194 | { &nova_t_table[0], NULL }, |
199 | { &nova_t_table[1], NULL }, | 195 | { &nova_t_table[1], NULL }, |
200 | }, | 196 | }, |
197 | { NULL }, | ||
201 | } | 198 | } |
202 | }; | 199 | }; |
203 | 200 | ||