From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Sun, 3 Feb 2019 22:48:02 +0100 Message-Id: <20190203214807.13643-8-u.oelmann@pengutronix.de> In-Reply-To: <20190203214807.13643-1-u.oelmann@pengutronix.de> References: <20190203214807.13643-1-u.oelmann@pengutronix.de> MIME-Version: 1.0 Subject: [OSS-Tools] [PATCH dt-utils 07/12] barebox-state: remove unused variables List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: oss-tools-bounces@pengutronix.de Sender: "OSS-Tools" To: Pengutronix Public Open-Source-Development Cc: =?UTF-8?q?Ulrich=20=C3=96lmann?= , entwicklung@pengutronix.de QnkgY2xlYW5pbmcgdXAgdGhlIGNvZGUgdGhlIGNvbXBpbGVyIGRvZXMgbm90IGVtaXQgdGhlIGZv bGxvd2luZyB3YXJuaW5nCmFueW1vcmU6CgogICAgc3JjL2JhcmVib3gtc3RhdGUuYzogSW4gZnVu Y3Rpb24gJ19fc3RhdGVfc3RyaW5nX2dldCc6CiAgICBzcmMvYmFyZWJveC1zdGF0ZS5jOjI1NDo2 OiB3YXJuaW5nOiB1bnVzZWQgdmFyaWFibGUgJ3JldCcgWy1XdW51c2VkLXZhcmlhYmxlXQogICAg ICBpbnQgcmV0OwogICAgICAgICAgXn5+CiAgICBzcmMvYmFyZWJveC1zdGF0ZS5jOiBJbiBmdW5j dGlvbiAnc3RhdGVfZ2V0JzoKICAgIHNyYy9iYXJlYm94LXN0YXRlLmM6MzE3OjI1OiB3YXJuaW5n OiB1bnVzZWQgdmFyaWFibGUgJ3YnIFstV3VudXNlZC12YXJpYWJsZV0KICAgICAgc3RydWN0IHN0 YXRlX3ZhcmlhYmxlICp2OwogICAgICAgICAgICAgICAgICAgICAgICAgICAgIF4KICAgIHNyYy9i YXJlYm94LXN0YXRlLmM6MzE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