From patchwork Tue Feb 24 23:11:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Brownell X-Patchwork-Id: 23647 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 667ABDDD0B for ; Wed, 25 Feb 2009 12:13:54 +1100 (EST) Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1Lc8KG-0005Y3-Ut; Wed, 25 Feb 2009 01:12:40 +0000 Received: from smtp127.sbc.mail.sp1.yahoo.com ([69.147.65.186]) by bombadil.infradead.org with smtp (Exim 4.69 #1 (Red Hat Linux)) id 1Lc8Jy-00050P-Ed for linux-mtd@lists.infradead.org; Wed, 25 Feb 2009 01:12:37 +0000 Received: (qmail 97619 invoked from network); 25 Feb 2009 01:12:19 -0000 Received: from unknown (HELO pogo) (david-b@69.226.224.20 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 25 Feb 2009 01:12:18 -0000 X-YMail-OSG: Qoi8.qcVM1mSyRJ2sOAnlDAVWHRYECHnT90nRBowst_YzAl33hAeYXwGaUYMu_T8K474qy8qPqXvc6VNRlFD8X7zKKTtsbCe8NdHYgkcg6E5cUl2RF50hzJVaCT7E6vL1fYmGN45_jVFQxkcqKOQZ7mELayns6ylCNz_ivYKl1gABIUQrLT2d07_1XGaM4kIsw-- X-Yahoo-Newman-Property: ymail-3 To: Linux MTD Subject: [patch/RESEND 2.6.29-rc3] MTD: we don't need no misc devices Content-Disposition: inline From: David Brownell Date: Tue, 24 Feb 2009 15:11:57 -0800 MIME-Version: 1.0 Message-Id: <200902241511.57445.david-b@pacbell.net> X-Spam-Score: 0.0 (/) Cc: lkml X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: dbrownell@users.sourceforge.net List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: David Brownell Remove from various drivers which don't actually use any of its contents. There are still a number of these left in arch-specific bits of the tree. (Found by diffing results of "grep -rl" for linux/miscdevice.h and for misc_register, examining the differences, and verifying removals with a build test.) Signed-off-by: David Brownell --- Random stuff that needs to be emptied from my patch queue. :) drivers/mtd/devices/doc2000.c | 1 - drivers/mtd/devices/doc2001.c | 1 - drivers/mtd/devices/doc2001plus.c | 1 - drivers/mtd/devices/docecc.c | 1 - drivers/mtd/inftlmount.c | 1 - drivers/mtd/nftlcore.c | 1 - 6 files changed, 6 deletions(-) --- a/drivers/mtd/devices/doc2000.c +++ b/drivers/mtd/devices/doc2000.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include --- a/drivers/mtd/devices/doc2001.c +++ b/drivers/mtd/devices/doc2001.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include --- a/drivers/mtd/devices/doc2001plus.c +++ b/drivers/mtd/devices/doc2001plus.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include --- a/drivers/mtd/devices/docecc.c +++ b/drivers/mtd/devices/docecc.c @@ -26,7 +26,6 @@ #include #include #include -#include #include #include #include --- a/drivers/mtd/inftlmount.c +++ b/drivers/mtd/inftlmount.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include --- a/drivers/mtd/nftlcore.c +++ b/drivers/mtd/nftlcore.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include