From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Mon, 30 Sep 2019 09:26:07 +0200 Message-Id: <20190930072613.17956-8-u.oelmann@pengutronix.de> In-Reply-To: <20190930072613.17956-1-u.oelmann@pengutronix.de> References: <20190930072613.17956-1-u.oelmann@pengutronix.de> MIME-Version: 1.0 Subject: [OSS-Tools] [PATCH dt-utils 07/13] state: drop unused code and declarations for non-existing functions 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?= VGhpcyBwb3J0cyB0aGUgZm9sbG93aW5nIGJhcmVib3ggY29tbWl0OgoKfCBjb21taXQgNDUyYTk5 NDgzY2VjMzY5MzNmZjU5ZTZmMGE3OTZlYzJlZTFhZWE2NQp8IEF1dGhvcjogVXdlIEtsZWluZS1L w7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KfCBEYXRlOiAgIFdlZCBTZXAg MTEgMjE6Mjc6MzcgMjAxOSArMDIwMAp8CnwgICAgIHN0YXRlOiBkcm9wIHVudXNlZCBjb2RlIGFu ZCBkZWNsYXJhdGlvbnMgZm9yIG5vbi1leGlzdGluZyBmdW5jdGlvbnMKfAp8ICAgICBzdGF0ZV9n ZXRfbmFtZSgpIGlzIG5vdCB1c2VkIGFuZCBzbyBjYW4gYmUgcmVtb3ZlZC4KfCAgICAgc3RhdGVf YmFja2VuZF9kdGJfZmlsZSgpIGFuZCBzdGF0ZV9iYWNrZW5kX3Jhd19maWxlKCkgd2VyZSBkcm9w cGVkIGluCnwgICAgIGM5OTliNTA3ZGE5OCAoInN0YXRlOiBSZWZhY3RvciBzdGF0ZSBmcmFtZXdv cmsiKS4Kf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