From patchwork Sat Nov 10 16:35:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 198197 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 286712C0081 for ; Sun, 11 Nov 2012 03:36:55 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TXE21-0006um-KD; Sat, 10 Nov 2012 16:35:41 +0000 Received: from mail-ye0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TXE1y-0006uQ-Qv for linux-mtd@lists.infradead.org; Sat, 10 Nov 2012 16:35:39 +0000 Received: by mail-ye0-f177.google.com with SMTP id r1so929397yen.36 for ; Sat, 10 Nov 2012 08:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=nZuDSLeiZeLBKjBOff5FZWAS1VnjJGvS5B/Bgt7NsTc=; b=gOLVY57+q1wJ8bR1fZ7AsVJ6PW1cQTOrY7c048Mwq7VvnWyqikJ4Beti6B7cReb+Qk V0FTcSIiOWktNljeGQ+2DcxT0Htmn9SJ2VPj7H+pwQpsLw2ykrdH3c1+TL64PX5rXdbf bpCareDHSgQGbT7u0EDrkjE72FqevdF7QFgXO5d/0xpbAcotBnTEFlx9BbO1HQmkRhc6 jYrQn0ACwDLXzK/7kKk/eAmiJ1F7sZ/o06G90h/zvpyXIhiSLXXHd+giO3RW9hodD1Es ht8ZUILLNAvigC/Vx8laVScn5rPwOrDXDGfzxBdy4Rq5ZliVxhXWzNIIwtXQksO8tdGm Y/nA== Received: by 10.236.54.138 with SMTP id i10mr15249375yhc.23.1352565337585; Sat, 10 Nov 2012 08:35:37 -0800 (PST) Received: from localhost.cpe.express.com.ar (71.222.3.200.ros.express.com.ar. [200.3.222.71]) by mx.google.com with ESMTPS id m26sm1748577yhc.17.2012.11.10.08.35.35 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Nov 2012 08:35:37 -0800 (PST) From: Ezequiel Garcia To: Subject: [PATCH] mtd: sm_ftl: Remove unused kthread stuff Date: Sat, 10 Nov 2012 13:35:22 -0300 Message-Id: <1352565322-8731-1-git-send-email-elezegarcia@gmail.com> X-Mailer: git-send-email 1.7.8.6 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121110_113538_977624_A70163F9 X-CRM114-Status: GOOD ( 10.71 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (elezegarcia[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Ezequiel Garcia , Maxim Levitsky X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This driver uses workqueues, not kthreads. Remove kthread header and thread related comment. Cc: Maxim Levitsky Signed-off-by: Ezequiel Garcia --- 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 #include #include -#include #include #include #include @@ -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);