IPoIB: Remove unnecessary port query
authorAlex Estrin <alex.estrin@intel.com>
Wed, 20 Aug 2014 15:15:08 +0000 (11:15 -0400)
committerRoland Dreier <roland@purestorage.com>
Fri, 19 Sep 2014 17:17:40 +0000 (10:17 -0700)
commit68f9d83c7765b110de54677573e9538f3ca6ca04
tree12f1c2a829fa93b80ddbfb61bcb58f9a9950af5f
parent52addcf9d6669fa439387610bc65c92fa0980cef
IPoIB: Remove unnecessary port query

There are two queries for port attributes one after another. A second
call is not needed since port_attr structure already holds the data.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/ipoib/ipoib_multicast.c
This page took 0.026674 seconds and 5 git commands to generate.