Bluetooth: Fix two minor style issues in HCI code
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 22 Feb 2012 11:06:43 +0000 (12:06 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:06:58 +0000 (13:06 +0200)
commit70c1f20b00495fd25b81be14b263d32648a3d629
tree4c1d390aecda10582685f9d8501eddb74a1327f6
parente5f0e151426bd83e4852a7a150fc6ad8ee349e69
Bluetooth: Fix two minor style issues in HCI code

WARNING: min() should probably be min_t(__u16, scb->expect, count)
+ len = min(scb->expect, (__u16)count);

WARNING: Statements terminations use 1 semicolon
+ INIT_LIST_HEAD(&conn->chan_list);;

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