From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwVSq-0002CM-EK for qemu-devel@nongnu.org; Wed, 11 Nov 2015 08:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwVSl-0001oz-Us for qemu-devel@nongnu.org; Wed, 11 Nov 2015 08:29:28 -0500 References: <1447186571-27672-1-git-send-email-thuth@redhat.com> <1447186571-27672-4-git-send-email-thuth@redhat.com> <20151111122503.1e445227.cornelia.huck@de.ibm.com> From: Thomas Huth Message-ID: <564342AE.5090604@redhat.com> Date: Wed, 11 Nov 2015 14:29:18 +0100 MIME-Version: 1.0 In-Reply-To: <20151111122503.1e445227.cornelia.huck@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/4] hw/s390x: Remove superfluous return statements List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck Cc: qemu-trivial@nongnu.org, Christian Borntraeger , Alexander Graf , qemu-devel@nongnu.org, Richard Henderson On 11/11/15 12:25, Cornelia Huck wrote: > On Tue, 10 Nov 2015 21:16:10 +0100 > Thomas Huth wrote: >=20 >> The "return;" statements at the end of functions do not make >> much sense, so let's remove them. >> >> Cc: Cornelia Huck >> Cc: Christian Borntraeger >> Cc: Alexander Graf >> Cc: Richard Henderson >> Signed-off-by: Thomas Huth >> --- >> hw/s390x/css.c | 1 - >> hw/s390x/event-facility.c | 21 ++++++--------------- >> hw/s390x/s390-pci-bus.c | 4 ---- >> 3 files changed, 6 insertions(+), 20 deletions(-) >> >=20 > Ack for the css and pci parts. >=20 > The sclp parts, however, switch from "one point of exit" to "immediate > exit", and I'm not sure I like that; not sure enough anyway to apply > this patch. Ah, right, I remember, you're prefering gotos ... well, no, I won't start a discussion about that here again ;-) ... so feel free to remove these hunks or simply ignore the patch completely. Cheers, Thomas