]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: ip: remove unnecessary & operation
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 28 Sep 2016 11:17:38 +0000 (14:17 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 3 Nov 2016 08:38:27 +0000 (10:38 +0200)
commit14f91dd524c42cdf137bda01c44e5e2f69a4c25e
tree5f83c1c695d1223ac0125bbdee4d43e110de3a08
parentefdd17e66718306c58cd8bab3a50cf8cfa645e8e
usb: ip: remove unnecessary & operation

Now that usb_endpoint_maxp() only returns the lowest
11 bits from wMaxPacketSize, we can remove the &
operation from this driver.

Cc: Valentina Manea <valentina.manea.m@gmail.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/usbip/vudc_dev.c