Received: from eggs.gnu.org ([2001:4830:134:3::10]:39605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUyp9-0001AO-Si for qemu-devel@nongnu.org; Tue, 01 Apr 2014 09:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUyp2-0002pY-VY for qemu-devel@nongnu.org; Tue, 01 Apr 2014 09:33:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUyp2-0002p9-ND for qemu-devel@nongnu.org; Tue, 01 Apr 2014 09:33:48 -0400 From: Markus Armbruster References: <53382B89.9030301@gmail.com> <87zjk6fjwf.fsf@blackfin.pond.sub.org> <533A0442.2020606@gmail.com> <87wqf95uwu.fsf@blackfin.pond.sub.org> <533A8077.10509@gmail.com> Date: Tue, 01 Apr 2014 15:33:42 +0200 In-Reply-To: <533A8077.10509@gmail.com> (Chen Gang's message of "Tue, 01 Apr 2014 17:01:43 +0800") Message-ID: <87vbuti37t.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH trival] vl.c: clean up code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chen Gang Cc: QEMU Developers , aliguori@amazon.com Chen Gang writes: > On 04/01/2014 04:13 PM, Markus Armbruster wrote: >> Chen Gang writes: >> >>> On 03/31/2014 11:49 PM, Markus Armbruster wrote: >>>> Chen Gang writes: >>>> >>>>> in get_boot_device() >>>>> >>>>> - remove 'res' to simplify code >>>>> >>>>> in main(): >>>>> >>>>> - remove useless 'continue'. >>>>> >>>>> - in main switch(): >>>>> >>>>> - remove or adjust all useless 'break'. >>>>> >>>>> - remove useless '{' and '}'. >>>>> >>>>> - use assignment directly to replace useless 'args' >>>>> (which is defined in the middle of code block). >>>> >>>> Suggest to have one patch per item in this list. >>>> >>> >>> OK, thanks. I will/should send again in this week (within 2014-04-06). >> >> No rush :) >> > > Yeah, more discussions, and more thinking of, before implementations. What I meant to say is "next week is fine, we're not in a big hurry to get this done".