Merged revisions 6773 via svnmerge from

svn+ssh://svn.code.sf.net/p/scst/svn/trunk

........
  r6773 | bvassche | 2015-12-18 13:39:16 +0100 (Fri, 18 Dec 2015) | 1 line
  
  scst: Fix a procfs compiler warning
........


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.1.x@6774 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-12-18 12:41:21 +00:00
parent 2f230a6fdd
commit d0ce0fc67f

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; }