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.89 #1 (Red Hat Linux)) id 1edXmn-0006Oo-Sl for barebox@lists.infradead.org; Mon, 22 Jan 2018 08:49:04 +0000 Date: Mon, 22 Jan 2018 09:48:49 +0100 From: Sascha Hauer Message-ID: <20180122084849.h54g77ajaj5rtazg@pengutronix.de> References: <20180119132825.26662-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180119132825.26662-1-u.kleine-koenig@pengutronix.de> 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: Re: [PATCH v2 1/2] mci: drop unused parameter from mci_switch() To: Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= Cc: barebox@lists.infradead.org T24gRnJpLCBKYW4gMTksIDIwMTggYXQgMDI6Mjg6MjRQTSArMDEwMCwgVXdlIEtsZWluZS1Lw7Zu aWcgd3JvdGU6Cj4gVGhlIFNXSVRDSCBjb21tYW5kIGhhcyB0d28gcHVycG9zZXM6Cj4gIGEpIHN3 aXRjaCB0aGUgY29tbWFuZCBzZXQKPiAgYikgV3JpdGUgdG8gdGhlIEVYVF9DU0QgcmVnaXN0ZXIK PiAKPiBJZiB0aGUgYWNjZXNzIGZpZWxkIChiaXRzIFsyNToyNF0pIGluIHRoZSBhcmd1bWVudCBh cmUgYjAwLCB3ZSdyZSBpbgo+IGNhc2UgYSksIG90aGVyd2lzZSBpbiBiKS4gQXMgbWNpX3N3aXRj aCgpIGFsd2F5cyBwYXNzZXMKPiBNTUNfU1dJVENIX01PREVfV1JJVEVfQllURSAoMGIzKSBpbiB0 aGUgYWNjZXNzIGZpZWxkLCBvbmx5IGNhc2UgY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3cucGVuZ3V0cm9uaXguZGUvICB8ClBlaW5lciBTdHIuIDYtOCwgMzExMzcg SGlsZGVzaGVpbSwgR2VybWFueSB8IFBob25lOiArNDktNTEyMS0yMDY5MTctMCAgICB8CkFtdHNn ZXJpY2h0IEhpbGRlc2hlaW0sIEhSQSAyNjg2ICAgICAgICAgICB8IEZheDogICArNDktNTEyMS0y MDY5MTctNTU1NSB8CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fXwpiYXJlYm94IG1haWxpbmcgbGlzdApiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0 cDovL2xpc3RzLmluZnJhZGVhZC5vcmcvbWFpbG1hbi9saXN0aW5mby9iYXJlYm94Cg==