IB/ipoib: Remove double pointer assigning
authorLeon Romanovsky <leonro@mellanox.com>
Sat, 15 Jul 2017 13:26:55 +0000 (16:26 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:26 +0000 (13:34 +0000)
commit8d76d29eab01999d82b679ed28e24173b317fac2
tree53188ddd14a182a7dba0e64c4968bd5108814dd6
parente9b5743885065ef50f74ec6a0b76693f3073ad26
IB/ipoib: Remove double pointer assigning

commit 1b355094b308f3377c8f574ce86135ee159c6285 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/infiniband/ulp/ipoib/ipoib_cm.c