]> err.no Git - linux-2.6/commit
IB/sa: Don't need to check for default P_Key twice
authorRoland Dreier <rolandd@cisco.com>
Fri, 3 Aug 2007 17:45:17 +0000 (10:45 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 3 Aug 2007 17:45:17 +0000 (10:45 -0700)
commit5399891052badf97948098d01772113801f6ef58
treec09cac548c1abe2410bf5b8db24e0cacb367245e
parent36026ecc20e5df722bbe2ea9e451c73d686ef107
IB/sa: Don't need to check for default P_Key twice

Now that ib_find_pkey() ignores the membership bit of P_Keys, there's no
need for ib_sa to look for both 0x7fff and 0xffff in a port's P_Key table.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/sa_query.c