]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9145): af901x: clean-up
authorAntti Palosaari <crope@iki.fi>
Fri, 26 Sep 2008 14:40:53 +0000 (11:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Oct 2008 09:15:45 +0000 (07:15 -0200)
- remove unnecessary #undef's

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9015.c
drivers/media/dvb/frontends/af9013.c

index 1168e4b508dbd0e97c8edde9e6af71d8355589a5..8c183e55daa4cf41f5afbdd6d93687abf1e403a4 100644 (file)
@@ -672,7 +672,6 @@ static int af9015_download_firmware(struct usb_device *udev,
                        goto error;
                }
        }
-       #undef FW_PACKET_MAX_DATA
 
        /* firmware loaded, request boot */
        req.cmd = BOOT;
@@ -1377,7 +1376,6 @@ static struct dvb_usb_device_properties af9015_properties[] = {
                }
        }
 };
-#undef AF9015_DEFAULT_PROPERTIES
 
 static int af9015_usb_probe(struct usb_interface *intf,
                            const struct usb_device_id *id)
index 50e1e3f300a022d2d1362be5af9aca1a69e26856..0d2a0ad2bc4d71b6beaac83f0d120e3bcfc913e0 100644 (file)
@@ -1500,8 +1500,6 @@ static int af9013_download_firmware(struct af9013_state *state)
                }
        }
 
-       #undef FW_PACKET_MAX_DATA
-
        /* request boot firmware */
        ret = af9013_write_reg(state, 0xe205, 1);
        if (ret)