net/mlx4: use swap() in mlx4_init_qp_table()
authorFabian Frederick <fabf@skynet.be>
Wed, 10 Jun 2015 16:33:06 +0000 (18:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 22:19:41 +0000 (15:19 -0700)
commit2df1cafa6785b680686e94c74f63e74e971195da
treef5119dfd409d23561eec4da12563856adadd9090
parent7161d18f6631b30b324f36bcad36191fde62db88
net/mlx4: use swap() in mlx4_init_qp_table()

Use kernel.h macro definition.

Thanks to Julia Lawall for Coccinelle scripting support.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/qp.c