infiniband: cxgb4: Consolidate 3 copies of the same operation into 1 helper function.
authorDavid Miller <davem@davemloft.net>
Fri, 2 Dec 2011 16:52:31 +0000 (16:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2011 20:20:20 +0000 (15:20 -0500)
Three pieces of code do the same thing, create a l2t entry and then
import this information into the c4iw_ep object.

Create a helper function and call it from these 3 locations instead.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Roland Dreier <roland@purestorage.com>

No differences found