From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i88HR-0006B6-7J for barebox@lists.infradead.org; Wed, 11 Sep 2019 19:27:54 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 11 Sep 2019 21:27:37 +0200 Message-Id: <20190911192738.16983-1-u.kleine-koenig@pengutronix.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] state: drop unused code and declarations for non-existing functions To: barebox@lists.infradead.org c3RhdGVfZ2V0X25hbWUoKSBpcyBub3QgdXNlZCBhbmQgc28gY2FuIGJlIHJlbW92ZWQuCnN0YXRl X2JhY2tlbmRfZHRiX2ZpbGUoKSBhbmQgc3RhdGVfYmFja2VuZF9yYXdfZmlsZSgpIHdlcmUgZHJv cHBlZCBpbgpjOTk5YjUwN2RhOTggKCJzdGF0ZTogUmVmYWN0b3Igc3RhdGUgZnJhbWV3b3JrIiku CgpTaWduZWQtb2ZmLWJ5OiBVd2UgS2xlaW5lLUvDtm5pZyA8dS5rbGVpbmUta29lbmlnQHBlbmd1 dHJvbml4LmRlPgotLS0KIGNvbW1vbi9zdGF0ZS9zdGF0ZS5jIHwgNyAtLS0tLS0tCiBpbmNsdWRl L3N0YXRlLmggICAgICB8IDUgLS0tLS0KIDIgZmlsZXMgY2hhbmdlZCwgMTIgZGVsZXRpb25zKC0p CgpkaWZmIC0tZ2l0IGEvY29tbW9uL3N0YXRlL3N0YXRlLmMgYi9jb21tb24vc3RhdGUvc3RhdGUu YwppbmRleCAzZjVkNDNlY2JmNzMuLmIxNjgzODdlZWYwYiAxMDA2NDQ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