Reverted r2099.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2102 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-12 07:31:33 +00:00
parent bad63dc691
commit 9878d2533f

View File

@@ -2303,6 +2303,14 @@ static bool srpt_is_target_enabled(struct scst_tgt *scst_tgt)
spin_unlock_irq(&sdev->spinlock);
return res;
}
#else
/**
* srpt_is_target_enabled() - Reports that a target is enabled when using procfs.
*/
static bool srpt_is_target_enabled(struct scst_tgt *scst_tgt)
{
return true;
}
#endif
/**