mlx4: remove unnecessary variables and arguments
authorEugenia Emantayev <eugenia@mellanox.co.il>
Tue, 14 Feb 2012 06:37:46 +0000 (06:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 19:11:58 +0000 (14:11 -0500)
commitdeb8b3e8494f63b05ce144a52e8c0b3f80789fed
tree715875b0a4fc5e4beaafdbe4fd31405097abd7ce
parent45b5136551e42a1c2bca8edad8e6f3247ca5a729
mlx4: remove unnecessary variables and arguments

mlx4_qp_attach/detach_common() don't use hash variable, move it to find_entry()
static find_entry() in mcg.c doesn't use steer argument

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.co.il>
Reviewed-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mcg.c