public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mtd: sm_ftl: Remove unused kthread stuff
@ 2012-11-10 16:35 Ezequiel Garcia
  2012-11-21 15:05 ` Artem Bityutskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2012-11-10 16:35 UTC (permalink / raw)
  To: linux-mtd; +Cc: Ezequiel Garcia, Maxim Levitsky

This driver uses workqueues, not kthreads.
Remove kthread header and thread related comment.

Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
---
The removed comment seems deprecated, but I can't be entirely sure;
so -of course- feel free to keep that.

 drivers/mtd/sm_ftl.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/sm_ftl.c b/drivers/mtd/sm_ftl.c
index 8dd6ba5..1ce1128 100644
--- a/drivers/mtd/sm_ftl.c
+++ b/drivers/mtd/sm_ftl.c
@@ -11,7 +11,6 @@
 #include <linux/module.h>
 #include <linux/random.h>
 #include <linux/hdreg.h>
-#include <linux/kthread.h>
 #include <linux/freezer.h>
 #include <linux/sysfs.h>
 #include <linux/bitops.h>
@@ -1066,7 +1065,6 @@ static int sm_write(struct mtd_blktrans_dev *dev,
 	BUG_ON(ftl->readonly);
 	sm_break_offset(ftl, sec_no << 9, &zone_num, &block, &boffset);
 
-	/* No need in flush thread running now */
 	del_timer(&ftl->timer);
 	mutex_lock(&ftl->mutex);
 
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-30 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10 16:35 [PATCH] mtd: sm_ftl: Remove unused kthread stuff Ezequiel Garcia
2012-11-21 15:05 ` Artem Bityutskiy
2012-11-22 23:02   ` Ezequiel Garcia
2012-11-30 13:07     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox