diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-07-10 11:18:34 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-10 11:18:34 -0700 |
commit | 20089ca55786a243c7b72becd1bf670f4e2c2028 (patch) | |
tree | 76b0c517dfa9b4c74ccafac434e4095c7a836e45 /block | |
parent | 856c52a741950dc0be2c5c231efec626e9a0a3fa (diff) |
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: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions