Skip to content
Commit 6432f366 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB: Remove useless ibdev_is_alive() tests from sysfs code



Some attribute show functions test ibdev_is_alive() to make sure that
it's OK to access device state.  However, the sysfs attributes will
not be registered until the device is fully initialized, and they'll
be unregistered before anything is torn down, so ibdev_is_alive()
doesn't do anything useful.  Remove it.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 9206dff1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment