From d4e80beae1eef31df5749516ecb36f0fb366daf1 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Fri, 26 Sep 2008 11:40:53 -0300 Subject: [PATCH] V4L/DVB (9145): af901x: clean-up - remove unnecessary #undef's Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb/dvb-usb/af9015.c | 2 -- drivers/media/dvb/frontends/af9013.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index 1168e4b508db..8c183e55daa4 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, 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) diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c index 50e1e3f300a0..0d2a0ad2bc4d 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) } } - #undef FW_PACKET_MAX_DATA - /* request boot firmware */ ret = af9013_write_reg(state, 0xe205, 1); if (ret) -- 2.30.2