From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yca9K-0000qI-B4 for barebox@lists.infradead.org; Mon, 30 Mar 2015 13:54:43 +0000 From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Mon, 30 Mar 2015 15:51:04 +0200 Message-Id: <1427723465-9306-1-git-send-email-t.gamez@phytec.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/2] mtd: nand_omap_gpmc: Remove unused code To: barebox@lists.infradead.org VGhlIGVjYyBsYXlvdXQgc3RydWN0cyBhcmUgbm90IHVzZWQgYW55d2hlcmUuCgpTaWduZWQtb2Zm LWJ5OiBUZXJlc2EgR8OhbWV6IDx0LmdhbWV6QHBoeXRlYy5kZT4KLS0tCiBkcml2ZXJzL210ZC9u YW5kL25hbmRfb21hcF9ncG1jLmMgfCA2OCAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0KIDEgZmlsZSBjaGFuZ2VkLCA2OCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9k cml2ZXJzL210ZC9uYW5kL25hbmRfb21hcF9ncG1jLmMgYi9kcml2ZXJzL210ZC9uYW5kL25hbmRf b21hcF9ncG1jLmMKaW5kZXggZDI1NDA0Mi4uNjQ3NjA1YiAxMDA2NDQKLS0tIGEvZHJpdmVycy9t dGQvbmFuZC9uYW5kX29tYXBfZ3BtYy5jCisrKyBiL2RyaXZlcnMvbXRkL25hbmQvbmFuZF9vbWFw X2dwbWMuYwpAQCAtMTMwLDUzICsxMzAsNiBAQCBzdGF0aWMgc3RydWN0IG5hbmRfYmJ0X2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