Message ID | 1395985810-23822-2-git-send-email-sean.hefty@intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/linux/acme_linux.c b/linux/acme_linux.c index ef5b107..6978db7 100644 --- a/linux/acme_linux.c +++ b/linux/acme_linux.c @@ -102,7 +102,7 @@ get_sgid(struct ifreq *ifr, union ibv_gid *sgid) } static int -get_devaddr(int s, struct ifreq *ifr, +get_devaddr(struct ifreq *ifr, int *dev_index, uint8_t *port, uint16_t *pkey) { struct ibv_device_attr dev_attr; @@ -199,7 +199,7 @@ int gen_addr_ip(FILE *f) if (ifr[i].ifr_hwaddr.sa_family != ARPHRD_INFINIBAND) continue; - ret = get_devaddr(s, &ifr[i], &dev_index, &port, &pkey); + ret = get_devaddr(&ifr[i], &dev_index, &port, &pkey); if (ret) continue;
From: Ira Weiny <ira.weiny@intel.com> --- linux/acme_linux.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)