IB/ipoib: Remove double pointer assigning
authorLeon Romanovsky <leonro@mellanox.com>
Sat, 15 Jul 2017 13:26:55 +0000 (16:26 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 23 Jul 2017 07:00:15 +0000 (10:00 +0300)
commit1b355094b308f3377c8f574ce86135ee159c6285
tree117dc3baa00eb4a47abbede8a4d4e395d448f754
parentdc892e17bbae670a3d7aa6ab8bd1033b15b24645
IB/ipoib: Remove double pointer assigning

There is no need to assign "p" pointer twice.

This patch fixes the following smatch warning:
drivers/infiniband/ulp/ipoib/ipoib_cm.c:517 ipoib_cm_rx_handler() warn:
missing break? reassigning 'p->id'

Fixes: 839fcaba355a ("IPoIB: Connected mode experimental support")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c