From: Michael Tokarev Subject: Re: [Qemu-trivial] [PATCH trivial] xen-hvm: Remove redandant varialbe 'xstate' Date: Tue, 11 Nov 2014 17:26:41 +0300 Message-ID: <54621CA1.9090801@msgid.tls.msk.ru> References: <5461D59C.5020106@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5461D59C.5020106@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Chen Gang Cc: QEMU Trivial , xen-devel@lists.xensource.com, qemu-devel , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 11.11.2014 12:23, Chen Gang wrote: > In xen_hvm_change_state_handler(), can pass 'opaque' with type cast to > xen_main_loop_prepare() directly, need not use additional variable for > it. gcc most likely eliminates it anyway, but heck, why not? Applied to -trivial, thank you! /mjt