diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-06-16 17:13:05 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-07-14 13:20:13 -0400 |
commit | cb1ff431c3dd904cda37d6d07d4a3ea29840d621 (patch) | |
tree | 42cea261b7005ffa60f53a3bccad6189178e1f0d /net/bluetooth/hci_debugfs.h | |
parent | edcd2a7474ba3b47e54c3c9a300287342de74766 (diff) | |
download | linux-cb1ff431c3dd904cda37d6d07d4a3ea29840d621.tar.bz2 |
IB/ipath: Convert use of __constant_<foo> to <foo>
In little endian cases, the macros be16_to_cpu and cpu_to_be64
unfolds to __swab{16,64} which provides special case for constants.
In big endian cases, __constant_be16_to_cpu and be16_to_cpu
expand directly to the same expression. The same applies for
__constant_cpu_to_be64 and cpu_to_be64.
So, replace __constant_be16_to_cpu with be16_to_cpu and
__constant_cpu_to_be64 with cpu_to_be64, with the goal of getting
rid of the definition of __constant_be16_to_cpu and
__constant_cpu_to_be64 completely.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/bluetooth/hci_debugfs.h')
0 files changed, 0 insertions, 0 deletions