aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2022-03-08 09:09:14 +0100
committerGreg Kroah-Hartman <[email protected]>2022-03-18 13:18:59 +0100
commit3aec400965500697179aed4497d9ad8dc9502e37 (patch)
tree14e77027e1d051dcafc3f7c99824180bd24b90fe /net/switchdev/switchdev.c
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions