From: Roland Dreier Date: Wed, 4 Mar 2009 23:22:39 +0000 (-0800) Subject: IB: Remove useless ibdev_is_alive() tests from sysfs code X-Git-Tag: v2.6.30-rc1~665^2^11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6432f366842c78d17b2df974c68f39cb5794f2c2;p=pandora-kernel.git 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 --- Reading git-diff-tree failed