From 072c508384c00d2dca1c18bb8aad818d9db8808d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 9 Nov 2015 19:40:04 +0000 Subject: [PATCH] scst_copy_mgr: Remove a superfluous cast git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6631 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_copy_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_copy_mgr.c b/scst/src/scst_copy_mgr.c index a9ef255f6..e00b38d71 100644 --- a/scst/src/scst_copy_mgr.c +++ b/scst/src/scst_copy_mgr.c @@ -1976,7 +1976,7 @@ out_unlock_free: void sess_cm_list_id_cleanup_work_fn(struct delayed_work *work) { - struct scst_session *sess = container_of((struct delayed_work *)work, + struct scst_session *sess = container_of(work, struct scst_session, sess_cm_list_id_cleanup_work); struct scst_cm_list_id *l, *t; unsigned long cur_time = jiffies;