From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Fri, 7 Aug 2020 11:16:04 +0200 Message-Id: <20200807091604.22777-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH] openssh/rc-once: deduplicate some function parameters List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de VGhlIGNyZWF0ZV9rZXlzKCkgZnVuY3Rpb24gcGFzc2VkIHRoZSBrZXkgdHlwZSB0aHJlZSB0aW1l cy4gTm93IGl0J3MKb25seSBwYXNzZWQgb25jZS4gV2hpbGUgYXQgaXQgYWxzbyB1c2UgdGhlIHNo ZWxsIGJ1aWx0aW4gY2FzZSBpbnN0ZWFkIG9mCmVjaG8gfCBncmVwIHRvIGZpbmQgdGhlIG5lZWRl ZCBrZXlzLgoKVGhlIG9ubHkgdmlzaWJsZSBjaGFuZ2UgaXMgdGhhdCB0aGUgZW5kIG1lc3NhZ2Ug bWVzc2FnZSBjaGFuZ2VzIGZyb20KCglDcmVhdGluZyBSU0Ega2V5OyBkb25lLgoKdG8KCglDcmVh dGVkIFJTQSBrZXkuCgpTaWduZWQtb2ZmLWJ5OiBVd2UgS2xlaW5lLUvDtm5pZyA8dS5rbGVpbmUt a29lbmlnQHBlbmd1dHJvbml4LmRlPgotLS0KSGVsbG8sCgpJIG5vdGljZWQgdGhpcyAidHJpcGxp Y2F0aW9uIiB3aGlsZSB1cGRhdGluZyBhIEJTUCBhbmQgbWVyZ2luZyBpbiBzb21lCkJTUCBzcGVj aWZpYyBmZWF0dXJlcy4gSSBndWVzcyBpdCBpcyBzdWJqZWN0aXZlIGlmIHlvdSBjb25zaWRlciB0 aGlzIGFuCmltcHJvd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