summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-10-15 17:11:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-20 17:41:42 +0200
commit1188cfa646ba2a7c295fe0cfac24529aec28ff2f (patch)
tree634124c9f664a6884189ae615e80d4d0f702cd3a /tools/perf/scripts/python
parent5ecf2bb6b1f9659e79e99465c327bb97234bfdaf (diff)
downloadlinux-1188cfa646ba2a7c295fe0cfac24529aec28ff2f.tar.gz
linux-1188cfa646ba2a7c295fe0cfac24529aec28ff2f.zip
staging: r8188eu: remove padapter from struct led_priv
The only struct led_priv that's used in the r8188eu driver in embedded in the driver's global struct adapter. We can use container_of to access the "outer" structure, there's no need to store a pointer to it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20221015151115.232095-9-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions