From patchwork Thu Nov 12 01:05:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 543163 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A4F15140549 for ; Thu, 12 Nov 2015 12:08:53 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=rDNEmsfn; dkim-atps=neutral Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZwgLk-0003Qd-DP; Thu, 12 Nov 2015 01:06:52 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZwgLi-0003OA-JT for linux-mtd@lists.infradead.org; Thu, 12 Nov 2015 01:06:51 +0000 Received: by padhx2 with SMTP id hx2so46939998pad.1 for ; Wed, 11 Nov 2015 17:06:30 -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; bh=4uXLNQQeSbm2a0odu8473fK8VUOfXxrr1fHAujrewTk=; b=rDNEmsfnC+ZNXPob4vrW40HUV35kB5Tar+s96yu2Te4At5Y3a73Y/aKpMFwOGJEYSu VdkVgnMiLgpSpA2QrnbFdJCwgba4Xp47D8UiPn1nA6Lqt6BxUjRqwzondOfQNFg6wkuq JIuBLs2EhPJabQkXNBiwdBpoZWQzM4i0QzlwG8T6I2k4V3T/cXO36qCwIe5huVEVE3I5 2STbpXPuCn2qz3IALwGO8APXOkRdG6S8xEHKCjrvV3bygtZmlNorycuX4ZYj1wsAW7i+ p94ssygoOudH7+FlC1zpzTJpy6Ay9uAxZfGmAckogYTmKa3lfz3V7ANlmNEWoed7kovR twKg== X-Received: by 10.68.179.101 with SMTP id df5mr18915099pbc.73.1447290390139; Wed, 11 Nov 2015 17:06:30 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.64.120]) by smtp.gmail.com with ESMTPSA id vg7sm11521631pbc.2.2015.11.11.17.06.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Nov 2015 17:06:29 -0800 (PST) From: Brian Norris To: Subject: [PATCH] mtd: partitions: kill unused ecclayout struct Date: Wed, 11 Nov 2015 17:05:56 -0800 Message-Id: <1447290356-60040-1-git-send-email-computersforpeace@gmail.com> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151111_170650_684706_5761D305 X-CRM114-Status: UNSURE ( 9.09 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:231 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (computersforpeace[at]gmail.com) -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_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Brian Norris , Brian Foster MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This field is not used. Reported here: http://lists.infradead.org/pipermail/linux-mtd/2015-October/062417.html Reported-by: Brian Foster Cc: Brian Foster Signed-off-by: Brian Norris Reviewed-by: Boris Brezillon --- Depends on this for killing its last use: http://patchwork.ozlabs.org/patch/543159/ include/linux/mtd/partitions.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h index 282644c0c5c0..34388ced421a 100644 --- a/include/linux/mtd/partitions.h +++ b/include/linux/mtd/partitions.h @@ -41,7 +41,6 @@ struct mtd_partition { uint64_t size; /* partition size */ uint64_t offset; /* offset within the master MTD space */ uint32_t mask_flags; /* master MTD flags to mask out for this partition */ - struct nand_ecclayout *ecclayout; /* out of band layout for this partition (NAND only) */ struct device_node *of_node; /* OF node attached to the partition */ };