summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2022-08-17 08:32:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-23 15:37:09 +0200
commitb56683d416aee135d2c208970d3d42cd886f47d8 (patch)
tree88f18bf614a3862e78390d15e7197b71bbea7a0e /tools/perf/scripts/python
parent8379cf83fe6d57a12952de6dcaf7a7fbd7b364fc (diff)
staging: r8188eu: remove rtw_endofpktfile()
The function rtw_endofpktfile() just checks for pkt_len == 0. Remove rtw_endofpktfile() and merge the check into the caller to improve readability and simplify the driver code. Reviewed-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220817063223.8140-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions