diff options
| author | Jiri Slaby <jirislaby@kernel.org> | 2023-07-31 10:02:43 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-31 17:16:05 +0200 |
| commit | a60b3017601ef7f338ac44b942e917362f222b1c (patch) | |
| tree | 12b2914851c2551aa5ee36a212ba4020e9c81a71 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | misc: ti-st: remove forward declarations and make st_int_recv() static (diff) | |
| download | linux-a60b3017601ef7f338ac44b942e917362f222b1c.tar.gz linux-a60b3017601ef7f338ac44b942e917362f222b1c.zip | |
misc: ti-st: remove ptr from recv functions
ptr is the same as data, so use ptr directly as a parameter and drop the
useless local variable.
Likely, the two were introduced to have a different type. But 'char' and
'unsigned char' are the same in the kernel for a long time.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230731080244.2698-10-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
