diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-06-07 16:06:51 (GMT) |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-06-08 12:50:01 (GMT) |
commit | b4324b5dc5b62ba76372e1bf8927230cf744df66 (patch) | |
tree | 0827bb177760bd2bdac41fbf6466eb1c825b9d88 /include/net | |
parent | 47ec1dcd696d56a7c396e5838516a566ecd4b03d (diff) | |
download | linux-fsl-qoriq-b4324b5dc5b62ba76372e1bf8927230cf744df66.tar.xz |
Bluetooth: Remove pointless endian conversion helpers
The Bluetooth source uses some endian conversion helpers, that in the end
translate to kernel standard routines. So remove this obfuscation since it
is fully pointless.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 3ad5390..cf8bcb2 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h @@ -81,12 +81,6 @@ enum { BT_CLOSED }; -/* Endianness conversions */ -#define htobs(a) __cpu_to_le16(a) -#define htobl(a) __cpu_to_le32(a) -#define btohs(a) __le16_to_cpu(a) -#define btohl(a) __le32_to_cpu(a) - /* BD Address */ typedef struct { __u8 b[6]; |