xhci: omit mem read just after allocation of trb
authorOliver Neukum <oneukum@suse.com>
Thu, 17 Feb 2022 13:35:49 +0000 (14:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Feb 2022 10:19:21 +0000 (11:19 +0100)
commitf9aeda81c0e8cfd6c5b21401f6206b2c7584f876
tree487567acb97092767e0d8bbf7f4f7f4a41de750d
parentc6c986b657e55910746ea0f41e1aee0696833c7a
xhci: omit mem read just after allocation of trb

This has been allocated just a few lines earlier with a
zalloc(). The value is known and "|=" is a waste of memory
cycles.

Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Link: https://lore.kernel.org/r/20220217133549.27961-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c