OSDN Git Service

usb: host: ehci: remove unnecessary max_packet() macro
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 30 Sep 2016 08:24:59 +0000 (11:24 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:24 +0000 (10:38 +0200)
commit8437ab99a68363a1c56270932f705e56ff2b6b37
tree525ed88f74a51d87fca139fa691de8bb4a91c620
parent5f9492ff1dd7164e3785b9fbd1221fc717efe2c4
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>
drivers/usb/host/ehci-q.c
drivers/usb/host/ehci-sched.c