aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2022-03-08 09:09:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-18 13:18:59 +0100
commit3aec400965500697179aed4497d9ad8dc9502e37 (patch)
tree14e77027e1d051dcafc3f7c99824180bd24b90fe /tools/perf/scripts/python/stackcollapse.py
parent7483189d6b3c1dec7e91fa082a4d52cfc9dd1ef0 (diff)
tty: serial: samsung: reduce number of casts
The pointers to instances of "struct s3c24xx_serial_drv_data" are first cast to kernel_ulong_t and then either used directly (in "platform_device_id.driver_data") or cast again to void * (in "of_device_id.data"). One cast can be dropped, so at least for "of_device_id.data" case there will be no casts at all. This makes the code a bit simpler. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20220308080919.152715-4-krzysztof.kozlowski@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions