scst: Fix a procfs compiler warning

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6773 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-12-18 12:39:16 +00:00
parent 9294102efe
commit 10bc776195
+4
View File
@@ -931,7 +931,11 @@ static inline int scst_cm_rcv_copy_res_exec(struct scst_cmd *cmd)
return SCST_EXEC_NOT_COMPLETED;
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
static inline void sess_cm_list_id_cleanup_work_fn(void *p) {}
#else
static inline void sess_cm_list_id_cleanup_work_fn(struct work_struct *work) {}
#endif
static inline void scst_cm_free_pending_list_ids(struct scst_session *sess) {}
static inline bool scst_cm_check_block_all_devs(struct scst_cmd *cmd) { return false; }