From: Harvey Harrison Date: Tue, 10 Jun 2008 19:48:45 +0000 (-0700) Subject: bluetooth: hci_bcsp.c small cleanups/api users X-Git-Tag: v2.6.27-rc1~969^2~333 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5ec514016d1a65922465372ff1e6748e6f7dea9;p=pandora-kernel.git bluetooth: hci_bcsp.c small cleanups/api users Use bitrev16 from lib/bitrev.c. Use the get_unaligned_be16 to get the crc from the packet, create a small helper function for this. Fix a shadowed variable sparse warning: drivers/bluetooth/hci_bcsp.c:218:26: warning: symbol 'hdr' shadows an earlier one drivers/bluetooth/hci_bcsp.c:187:5: originally declared here [akpm@linux-foundation.org: select CONFIG_BITREVERSE, noted by akinobu.mita@gmail.com] Signed-off-by: Harvey Harrison Acked-by: Marcel Holtmann Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- Reading git-diff-tree failed