From: Ezequiel Garcia <elezegarcia@gmail.com>
To: <linux-mtd@lists.infradead.org>
Cc: Ezequiel Garcia <elezegarcia@gmail.com>,
Maxim Levitsky <maximlevitsky@gmail.com>
Subject: [PATCH] mtd: sm_ftl: Remove unused kthread stuff
Date: Sat, 10 Nov 2012 13:35:22 -0300 [thread overview]
Message-ID: <1352565322-8731-1-git-send-email-elezegarcia@gmail.com> (raw)
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
next reply other threads:[~2012-11-10 16:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-10 16:35 Ezequiel Garcia [this message]
2012-11-21 15:05 ` [PATCH] mtd: sm_ftl: Remove unused kthread stuff Artem Bityutskiy
2012-11-22 23:02 ` Ezequiel Garcia
2012-11-30 13:07 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352565322-8731-1-git-send-email-elezegarcia@gmail.com \
--to=elezegarcia@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=maximlevitsky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox