aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/nes/nes.c')
-rw-r--r--drivers/infiniband/hw/nes/nes.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index 231ed708da68..fb7d243b1a23 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -138,14 +138,9 @@ static int nes_inetaddr_event(struct notifier_block *notifier,
138 struct nes_device *nesdev; 138 struct nes_device *nesdev;
139 struct net_device *netdev; 139 struct net_device *netdev;
140 struct nes_vnic *nesvnic; 140 struct nes_vnic *nesvnic;
141 unsigned int addr; 141
142 unsigned int mask; 142 nes_debug(NES_DBG_NETDEV, "nes_inetaddr_event: ip address %pI4, netmask %pI4.\n",
143 143 &ifa->ifa_address, &ifa->ifa_mask);
144 addr = ntohl(ifa->ifa_address);
145 mask = ntohl(ifa->ifa_mask);
146 nes_debug(NES_DBG_NETDEV, "nes_inetaddr_event: ip address " NIPQUAD_FMT
147 ", netmask " NIPQUAD_FMT ".\n",
148 HIPQUAD(addr), HIPQUAD(mask));
149 list_for_each_entry(nesdev, &nes_dev_list, list) { 144 list_for_each_entry(nesdev, &nes_dev_list, list) {
150 nes_debug(NES_DBG_NETDEV, "Nesdev list entry = 0x%p. (%s)\n", 145 nes_debug(NES_DBG_NETDEV, "Nesdev list entry = 0x%p. (%s)\n",
151 nesdev, nesdev->netdev[0]->name); 146 nesdev, nesdev->netdev[0]->name);