net/mlx4_en: Enable the compiler to make is_inline() inlined
authorEric Dumazet <edumazet@google.com>
Sun, 5 Oct 2014 09:35:20 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Oct 2014 05:04:16 +0000 (01:04 -0400)
commitacea73d671b25bfbbe6b8ceef949f4ac62c260c0
tree35e262b7c612ee23968b2cc620c3a2f3a25bda25
parente70602a8b87649e9f7742d96929a8d83618fa320
net/mlx4_en: Enable the compiler to make is_inline() inlined

Reorganize code to call is_inline() once, so compiler can inline it

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c