diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-13 00:06:08 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-02-13 07:47:47 -0800 |
commit | 5163dc1a645bc9ed7984fa484f1a77378c166d23 (patch) | |
tree | 986189b025cacec7e736dae41de4737e05b76df4 /drivers/infiniband/ulp/ipoib/ipoib_ib.c | |
parent | 8704e9a8790cc9e394198663c1c9150c899fb9a2 (diff) |
IB/mthca: Convert to use be16_add_cpu()
replace:
big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) +
expression_in_cpu_byteorder);
with:
beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder);
Generated with a semantic patch.
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Sean Hefty <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_ib.c')
0 files changed, 0 insertions, 0 deletions