aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-09-26 10:40:53 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 05:15:45 -0400
commitd4e80beae1eef31df5749516ecb36f0fb366daf1 (patch)
treeccc62903397baace4a6b944858e01d7fa3108e02 /drivers
parenta131077d57d0c52d0d481cb7c588752d0a211aa5 (diff)
V4L/DVB (9145): af901x: clean-up
- remove unnecessary #undef's Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c2
-rw-r--r--drivers/media/dvb/frontends/af9013.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c
index 1168e4b508d..8c183e55daa 100644
--- a/drivers/media/dvb/dvb-usb/af9015.c
+++ b/drivers/media/dvb/dvb-usb/af9015.c
@@ -672,7 +672,6 @@ static int af9015_download_firmware(struct usb_device *udev,
672 goto error; 672 goto error;
673 } 673 }
674 } 674 }
675 #undef FW_PACKET_MAX_DATA
676 675
677 /* firmware loaded, request boot */ 676 /* firmware loaded, request boot */
678 req.cmd = BOOT; 677 req.cmd = BOOT;
@@ -1377,7 +1376,6 @@ static struct dvb_usb_device_properties af9015_properties[] = {
1377 } 1376 }
1378 } 1377 }
1379}; 1378};
1380#undef AF9015_DEFAULT_PROPERTIES
1381 1379
1382static int af9015_usb_probe(struct usb_interface *intf, 1380static int af9015_usb_probe(struct usb_interface *intf,
1383 const struct usb_device_id *id) 1381 const struct usb_device_id *id)
diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c
index 50e1e3f300a..0d2a0ad2bc4 100644
--- a/drivers/media/dvb/frontends/af9013.c
+++ b/drivers/media/dvb/frontends/af9013.c
@@ -1500,8 +1500,6 @@ static int af9013_download_firmware(struct af9013_state *state)
1500 } 1500 }
1501 } 1501 }
1502 1502
1503 #undef FW_PACKET_MAX_DATA
1504
1505 /* request boot firmware */ 1503 /* request boot firmware */
1506 ret = af9013_write_reg(state, 0xe205, 1); 1504 ret = af9013_write_reg(state, 0xe205, 1);
1507 if (ret) 1505 if (ret)