summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_utils.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-03-04 15:22:39 -0800
committerRoland Dreier <rolandd@cisco.com>2009-03-04 15:22:39 -0800
commit6432f366842c78d17b2df974c68f39cb5794f2c2 (patch)
tree1eae97fdf35e8344face61d4eea8ffcc237c7c3d /drivers/infiniband/hw/nes/nes_utils.c
parent9206dff15705267c19f8fed391c4fb95975540a3 (diff)
downloadkernel-crypto-6432f366842c78d17b2df974c68f39cb5794f2c2.tar.gz
kernel-crypto-6432f366842c78d17b2df974c68f39cb5794f2c2.tar.xz
kernel-crypto-6432f366842c78d17b2df974c68f39cb5794f2c2.zip
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: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_utils.c')
0 files changed, 0 insertions, 0 deletions