]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bluetooth: Remove redundant check on hci_conn's device class
authorAlfonso Acosta <fons@spotify.com>
Tue, 7 Oct 2014 08:44:12 +0000 (08:44 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 05:56:24 +0000 (07:56 +0200)
commitddbea5cff7d5e2a9727f72c948e92b676a061fc5
treea6903735c157564c28df06e02fd276b9ce680a8a
parentfd45ada9105635a69cbaa2d142d502d402eef6fe
Bluetooth: Remove redundant check on hci_conn's device class

NULL-checking conn->dev_class is pointless since the variable is
defined as an array, i.e. it will always be non-NULL.

Signed-off-by: Alfonso Acosta <fons@spotify.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c