Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efdd17e6 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: misc: usbtest: remove unnecessary & operation



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

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 1e1eea0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2001,7 +2001,7 @@ test_queue(struct usbtest_dev *dev, struct usbtest_param_32 *param,
			"iso period %d %sframes, wMaxPacket %d, transactions: %d\n",
			1 << (desc->bInterval - 1),
			(udev->speed == USB_SPEED_HIGH) ? "micro" : "",
			usb_endpoint_maxp(desc) & 0x7ff,
			usb_endpoint_maxp(desc),
			usb_endpoint_maxp_mult(desc));

		dev_info(&dev->intf->dev,