Bluetooth: Fix sparse warnings in RFCOMM
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 4 Nov 2014 06:45:45 +0000 (08:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Nov 2014 07:01:46 +0000 (08:01 +0100)
commit2a68c897246b70a0c6b51a4a7d48d19b56b3e76b
tree396886eabbc3caac973ff4a9d258c3004231ab36
parent98a18b6ffc79baa69f4a0d1bae58faf2a8aef4c8
Bluetooth: Fix sparse warnings in RFCOMM

This patch fixes the following sparse warnings in rfcomm/core.c:

net/bluetooth/rfcomm/core.c:391:16: warning: dubious: x | !y
net/bluetooth/rfcomm/core.c:546:24: warning: dubious: x | !y

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