summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-sched.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-09-30 10:24:59 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-03 09:38:24 +0100
commit8437ab99a68363a1c56270932f705e56ff2b6b37 (patch)
tree525ed88f74a51d87fca139fa691de8bb4a91c620 /drivers/usb/host/ehci-sched.c
parentusb: core: endpoint: remove unnecessary & operation (diff)
downloadlinux-8437ab99a68363a1c56270932f705e56ff2b6b37.tar.xz
linux-8437ab99a68363a1c56270932f705e56ff2b6b37.zip
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;