summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-sched.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-30 11:24:59 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-03 11:38:24 +0300
commit8437ab99a68363a1c56270932f705e56ff2b6b37 (patch)
tree525ed88f74a51d87fca139fa691de8bb4a91c620 /drivers/usb/host/ehci-sched.c
parent5f9492ff1dd7164e3785b9fbd1221fc717efe2c4 (diff)
downloadlinux-8437ab99a68363a1c56270932f705e56ff2b6b37.tar.xz
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>
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
-rw-r--r--drivers/usb/host/ehci-sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c
index 6a9fa2c3a24e..980a6b3b2da2 100644
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -1068,7 +1068,6 @@ iso_stream_init(
stream->highspeed = 1;
- maxp = max_packet(maxp);
buf1 |= maxp;
maxp *= multi;