Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4e80bea authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

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



- remove unnecessary #undef's

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a131077d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -672,7 +672,6 @@ static int af9015_download_firmware(struct usb_device *udev,
			goto error;
			goto error;
		}
		}
	}
	}
	#undef FW_PACKET_MAX_DATA


	/* firmware loaded, request boot */
	/* firmware loaded, request boot */
	req.cmd = 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,
static int af9015_usb_probe(struct usb_interface *intf,
			    const struct usb_device_id *id)
			    const struct usb_device_id *id)
+0 −2
Original line number Original line Diff line number Diff line
@@ -1500,8 +1500,6 @@ static int af9013_download_firmware(struct af9013_state *state)
		}
		}
	}
	}


	#undef FW_PACKET_MAX_DATA

	/* request boot firmware */
	/* request boot firmware */
	ret = af9013_write_reg(state, 0xe205, 1);
	ret = af9013_write_reg(state, 0xe205, 1);
	if (ret)
	if (ret)