diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-11-07 15:11:55 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-03-10 09:49:15 +0100 |
| commit | 5374d083117cafe794002386416256a4c5e5d443 (patch) | |
| tree | 5174224e6bdc100da366d26dcd773412dbc37c9d /lib/mpi/mpi-cmp.c | |
| parent | 4643e34eccfc17f97cb18425835c7087afa8d9fb (diff) | |
can: gs_usb: gs_usb_probe(): introduce udev and make use of it
Introduce the variable udev in the gs_usb_probe() function to hold a
pointer to the struct usb_device. This avoids recalculating the value
several times in this function.
Link: https://lore.kernel.org/all/20220309124132.291861-13-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
