commit | 249633a443fd12485d6f352d6cbe41efc92db233 | [log] [tgz] |
---|---|---|
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | Mon Apr 10 14:57:57 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 11 23:01:14 2017 -0400 |
tree | 20c5bc6a978c79b705daf8f7ad6dfc327853f09c | |
parent | 3c22e8f3200227d64fc4b1795b12b2cdc9099cd6 [diff] |
net/smc: remove useless smc_ib_devices_list check The global event handler is created only, if the ib_device has already been used by at least one link group. It is guaranteed that there exists the corresponding entry in the smc_ib_devices list. Get rid of this superfluous check. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>