usb: remove unnecessary variable
"tmp" is only used to store the size of the descriptor. The name is not
very meaningful and "tmp" is not even used everywhere it could be used.
Just replace by using sizeof() directly where needed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent abc68d3 commit 32aeef4be60cfe5b96cda2d6ae88ae32ef015894
@Sascha Hauer Sascha Hauer authored on 3 Mar 2020
Showing 1 changed file
View
drivers/usb/core/usb.c