Received: from eggs.gnu.org ([2001:4830:134:3::10]:34845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrhh0-0007Gx-4l for qemu-devel@nongnu.org; Thu, 29 Oct 2015 03:32:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zrhgw-0002do-VS for qemu-devel@nongnu.org; Thu, 29 Oct 2015 03:32:14 -0400 Message-ID: <5631CB79.2080109@msgid.tls.msk.ru> Date: Thu, 29 Oct 2015 10:32:09 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1444899255-16300-1-git-send-email-thuth@redhat.com> In-Reply-To: <1444899255-16300-1-git-send-email-thuth@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] hw/display/tcx: Remove superfluous OBJECT() typecasts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: blauwirbel@gmail.com, pbonzini@redhat.com, mark.cave-ayland@ilande.co.uk, armbru@redhat.com 15.10.2015 11:54, Thomas Huth wrote: > The tcx_initfn() function is already supplied with an > Object *obj pointer, so there is no need to cast the > state pointer back to an Object pointer all over the > place. And while we're at it, also remove the superfluous > "return;" statement in this function. Applied to -trivial, thank you! /mjt