Skip to content
Commit 3786cf18 authored by David Miller's avatar David Miller Committed by David S. Miller
Browse files

infiniband: cxgb4: Consolidate 3 copies of the same operation into 1 helper function.



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: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarRoland Dreier <roland@purestorage.com>
parent 40e2bb58
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment