Skip to content
Commit 20089ca5 authored by Roland Dreier's avatar Roland Dreier
Browse files

IPoIB/cm: Fix warning if IPV6 is not enabled



Fix

    drivers/infiniband/ulp/ipoib/ipoib_cm.c:1151: warning: unused variable 'dev'

by getting rid of the variable dev, which is only used if CONFIG_IPV6
is enabled, and replacing the one use of it with the value it is
assigned, namely priv->dev.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 856c52a7
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