diff options
| author | Pavel Skripkin <[email protected]> | 2021-09-17 09:18:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-09-17 16:35:24 +0200 |
| commit | 3350541e7f32b11d3ec83a60ad0af39ede9a6d97 (patch) | |
| tree | 7d510fd12dfa4d7697cd1dc53de2dfe7d65b3491 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 8fba38e5105d03270a49f522d1473c63f0438bad (diff) | |
staging: r8188eu: remove the helpers of usb_write16()
Remove the unnecessary _rtw_write16() and usb_write16() and embed their
code into the caller (i.e., rtw_write16()).
_rtw_write16() is a mere redefinition of rtw_write16() and it is unneeded.
usb_write16() was the only functions assigned to the (*_usb_write16)
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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions