diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-11-07 17:11:55 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-03-10 11:49:15 +0300 |
commit | 5374d083117cafe794002386416256a4c5e5d443 (patch) | |
tree | 5174224e6bdc100da366d26dcd773412dbc37c9d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4643e34eccfc17f97cb18425835c7087afa8d9fb (diff) | |
download | linux-5374d083117cafe794002386416256a4c5e5d443.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions