scst/include/scst.h: Define lockdep_assert_held() only once (follow-up for r5693)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5697 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-07-20 07:03:04 +00:00
parent fcc5e80cec
commit 96fe36d39a
-4
View File
@@ -79,10 +79,6 @@ typedef _Bool bool;
#define __aligned __attribute__((aligned))
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
#define lockdep_assert_held(l) do { (void)(l); } while (0)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 22)
char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap);
#endif