]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: hci_uart: Remove unneeded cast of tty->disc_data
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 5 Apr 2015 02:57:21 +0000 (19:57 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2015 16:47:09 +0000 (18:47 +0200)
commitdfe19d28200f0d2306ef1510bbea3df18e22a6bc
treefa37e486d5df1710cf530844dd50d0d9a582a8e9
parente9a2dd261ac3d7bffbf55368a60401f5982dcc59
Bluetooth: hci_uart: Remove unneeded cast of tty->disc_data

Casting the tty->disc_data to (void *) is not needed at all. So just
remove this cast and assign the object without a cast.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/hci_ldisc.c