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 /tools/perf/scripts/python | |
| parent | serial: move WARN_ON() in uart_write() to the condition (diff) | |
| download | linux-659705d0a6992892bf3713bccf91ba43111aa71e.tar.gz linux-659705d0a6992892bf3713bccf91ba43111aa71e.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
