diff options
| author | Pavel Skripkin <[email protected]> | 2021-09-17 09:18:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-17 16:36:51 +0200 |
| commit | cfe7937379df540530e4e14166c8b06b954baabf (patch) | |
| tree | 613ee63cf282f64eefd414843156869f860e0c71 /tools/perf/scripts/python/flamegraph.py | |
| parent | 094813a6bced092243afa0559d637a5cda7779e8 (diff) | |
staging: r8188eu: remove the helpers of usb_write_port()
Remove the unnecessary _rtw_write_port() and usb_write_port() and embed
their code into the caller (i.e., rtw_write_port()).
_rtw_write_port() is a mere redefinition of rtw_write_port() and it is
unneeded. usb_write_port() was the only functions assigned to the
(*_usb_write_port) pointer, so we can simply remove it and make a direct
call.
This patch is in preparation for the _io_ops structure removal.
Reviewed-by: Dan Carpenter <[email protected]>
Co-developed-by: Fabio M. De Francesco <[email protected]>
Signed-off-by: Fabio M. De Francesco <[email protected]>
Signed-off-by: Pavel Skripkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions