net/mlx4: Address build warnings on set but not used variables
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 15 May 2012 10:34:57 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 04:56:58 +0000 (00:56 -0400)
commit162344ed2c80845200845f83e310fa3058bfe001
tree2c6da0a466f9dd63d57fab6cb150d9d4eb9ca01b
parentbc9b35ad41387379e0b1257b3171da0dca73562d
net/mlx4: Address build warnings on set but not used variables

Handle the compiler warnings on variables which are set but not used
by removing the relevant variable or casting a return value which is
ignored on purpose to void.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/mcg.c
drivers/net/ethernet/mellanox/mlx4/mr.c
drivers/net/ethernet/mellanox/mlx4/port.c
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c