inifiband: Remove BKL from ipath_open()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 14 Oct 2009 14:36:26 +0000 (16:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 14 Oct 2009 15:36:54 +0000 (17:36 +0200)
commitf96d3015e9f7f7fff4cab7ed1d467664cc980061
tree0e8e5a833452fc4a8dc4d1bcbe984f6768a3d714
parentd2a7be0be1099c2554f4705d2c1c5081f8f96efc
inifiband: Remove BKL from ipath_open()

cycle_kernel_lock() got pushed down to ipath_open(). I tried hard to
understand what it might protect, but finally gave up.

Roland noted that qlogic seems to have abandoned the ipath driver and
came to the following wise conclusion: "So I guess if the BKL stuff is
blocking you in any way, we can just drop it from ipath and leave it
as yet another race condition in a rotting old driver."

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <adad44tj090.fsf@cisco.com>
Cc: Roland Dreier <rdreier@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c