]> git.baikalelectronics.ru Git - kernel.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)
commitb229111023164c558900c102637e7402747771dd
treefa37e486d5df1710cf530844dd50d0d9a582a8e9
parentf3c21db54b100a44f9c67bebddafc7ea08e7ee8e
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