summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/capi/kcapi.c
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-11-13 22:41:29 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-13 22:41:29 -0800
commit00bcd522ea0a62f5e2a9c6ad4924cbbd8d05b026 (patch)
treece16dea6960f9d745120941c6bd32b3ca5abe769 /drivers/isdn/capi/kcapi.c
parent524ad0a79126efabf58d0a49eace6155ab5b4549 (diff)
downloadop-kernel-dev-00bcd522ea0a62f5e2a9c6ad4924cbbd8d05b026.zip
op-kernel-dev-00bcd522ea0a62f5e2a9c6ad4924cbbd8d05b026.tar.gz
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/capi/kcapi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud