提交 d4e80bea 编写于 作者: A Antti Palosaari 提交者: Mauro Carvalho Chehab

V4L/DVB (9145): af901x: clean-up

- remove unnecessary #undef's
Signed-off-by: NAntti Palosaari <crope@iki.fi>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a131077d
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册