]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit645526494c5a7a885d780e1a64d7348227a7f53b
tree11247ce903015b44492ac10778ef7f3bc8e6ee5b
parentc6ec25cabf9d5b82f15b9dc123cf8642928c1f5d
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