IB/ipath: Remove redundant link state checks
authorRalph Campbell <ralph.campbell@qlogic.com>
Fri, 5 Oct 2007 23:03:21 +0000 (16:03 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 04:02:08 +0000 (21:02 -0700)
commitbda94e32b39c0e60d43b34a175363601b6f12ca4
tree449de15b91f5188d498a2e5174b90af45e179b77
parent49739b3e24a10d819d3167a1c5b319d0b1186245
IB/ipath: Remove redundant link state checks

This patch removes some redundant checks when the SMA changes the link
state since the same checks are made in the lower level function that
sets the state.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_mad.c