IB/mlx4: Convert is_xxx variables in build_mlx_header() to bool
authorRoland Dreier <roland@purestorage.com>
Mon, 25 Feb 2013 17:02:03 +0000 (09:02 -0800)
committerRoland Dreier <roland@purestorage.com>
Mon, 25 Feb 2013 17:02:03 +0000 (09:02 -0800)
commita29bec12412d0e6f18ef1ce5f535e39829038648
tree11247ce903015b44492ac10778ef7f3bc8e6ee5b
parent61083720702a329ed5952e32bda384e3bbc9093c
IB/mlx4: Convert is_xxx variables in build_mlx_header() to bool

Matches the way they're used, and actually lets at least x86-64 generate
better code:

    add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-38 (-38)
    function                                     old     new   delta
    mlx4_ib_post_send                           4416    4378     -38

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c