[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCH] kcopyd.c : Remove unneeded setting of job->context from copy_write().



In copy_write(), don't need to set job->context = info, since it is already
set to that when the function is called.

--- linux-2.4.20a/drivers/md/kcopyd.c	2003/01/09 19:36:29
+++ linux-2.4.20b/drivers/md/kcopyd.c	2003/01/09 19:37:51
@@ -665,7 +665,6 @@
 	job->rw = WRITE;
 	memcpy(&job->disk, &info->to, sizeof(job->disk));
 	job->callback = copy_complete;
-	job->context = info;
 
 	/*
 	 * Queue the write.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]