]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd99afac08ec63764db45b011a4df1dbe8ef56858
tree35e262b7c612ee23968b2cc620c3a2f3a25bda25
parent3f5a6337972098b314531ea6f972de96630aef90
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