diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-11-13 22:41:29 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-13 22:41:29 -0800 |
commit | 00bcd522ea0a62f5e2a9c6ad4924cbbd8d05b026 (patch) | |
tree | ce16dea6960f9d745120941c6bd32b3ca5abe769 /drivers/isdn/icn/icn.h | |
parent | 524ad0a79126efabf58d0a49eace6155ab5b4549 (diff) |
isdn: use %pI4, remove get_{u8/u16/u32} and put_{u8/u16/u32} inlines
They would have been better named as get_be16, put_be16, etc.
as they were hiding an endian shift inside.
They don't add much over explicitly coding the byteshifting
and gcc sometimes has a problem with builtin_constant_p inside
inline functions, so it may do a better job of byteswapping
at compile time rather than runtime.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/icn/icn.h')
0 files changed, 0 insertions, 0 deletions