IB/mlx5: Delete locally redefined variable
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 19 Jan 2016 09:11:24 +0000 (11:11 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:24:54 +0000 (15:24 -0500)
commit50ca6ed21e7c389c250ee30b0bb4df66157a1115
treec75e554ce2ff15a324caf9e260815b046b4a5dd5
parentf25bf1977f7a968e85fe8ab99252b8132c6cf8c4
IB/mlx5: Delete locally redefined variable

Fix the following sparse warning:
drivers/infiniband/hw/mlx5/main.c:1061:29: warning: symbol 'pfn' shadows
an earlier one
drivers/infiniband/hw/mlx5/main.c:1030:21: originally declared here

Fixes: d69e3bcf7976 ('IB/mlx5: Mmap the HCA's core clock register to user-space')
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c