diff options
author | Jiri Slaby <jirislaby@kernel.org> | 2023-07-31 10:02:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-07-31 17:16:05 +0200 |
commit | 659705d0a6992892bf3713bccf91ba43111aa71e (patch) | |
tree | 2b2140515fe56a786cc3832454a53dbe2f02a60c /drivers/tty/hvc/hvsi.c | |
parent | 602c802114a10cb03415fbed0163ca9ff97fc5d4 (diff) |
Bluetooth: rfcomm: remove casts from tty->driver_data
tty->driver_data is 'void *', so there is no need to cast from that.
Therefore remove the casts and assign the pointer directly.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Johan Hedberg <johan.hedberg@gmail.com>
Cc: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Link: https://lore.kernel.org/r/20230731080244.2698-3-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/hvc/hvsi.c')
0 files changed, 0 insertions, 0 deletions