usb: host: ehci: remove unnecessary max_packet() macro
Now that usb_endpoint_maxp() only returns the lowest 11 bits from wMaxPacketSize, we can remove this macro from the driver. Cc: Alan Stern <stern@rowland.harvard.edu> Cc: <linux-usb@vger.kernel.org> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
@@ -1068,7 +1068,6 @@ iso_stream_init(
|
||||
|
||||
stream->highspeed = 1;
|
||||
|
||||
maxp = max_packet(maxp);
|
||||
buf1 |= maxp;
|
||||
maxp *= multi;
|
||||
|
||||
|
Reference in New Issue
Block a user