diff options
| author | Andre Edich <andre.edich@microchip.com> | 2020-08-26 13:17:16 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-08-28 06:48:43 -0700 |
| commit | ad90a73f0236c41f7a2dedc2e75c7b5a364eb93e (patch) | |
| tree | 61e4337db073e1aeb091db045363673552937363 /tools/perf/scripts/python | |
| parent | smsc95xx: remove redundant function arguments (diff) | |
| download | linux-ad90a73f0236c41f7a2dedc2e75c7b5a364eb93e.tar.gz linux-ad90a73f0236c41f7a2dedc2e75c7b5a364eb93e.zip | |
smsc95xx: use usbnet->driver_priv
Using `void *driver_priv` instead of `unsigned long data[]` is more
straightforward way to recover the `struct smsc95xx_priv *` from the
`struct net_device *`.
Signed-off-by: Andre Edich <andre.edich@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
