Received: from eggs.gnu.org ([2001:4830:134:3::10]:45772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkOz-0003t0-Im for qemu-devel@nongnu.org; Thu, 15 Oct 2015 11:25:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkOu-0007uy-Ew for qemu-devel@nongnu.org; Thu, 15 Oct 2015 11:25:09 -0400 From: Markus Armbruster References: <1444899255-16300-1-git-send-email-thuth@redhat.com> Date: Thu, 15 Oct 2015 17:25:00 +0200 In-Reply-To: <1444899255-16300-1-git-send-email-thuth@redhat.com> (Thomas Huth's message of "Thu, 15 Oct 2015 10:54:15 +0200") Message-ID: <87zizk6to3.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain 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 Cc: qemu-trivial@nongnu.org, blauwirbel@gmail.com, mark.cave-ayland@ilande.co.uk, qemu-devel@nongnu.org, pbonzini@redhat.com Thomas Huth writes: > 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. > > Signed-off-by: Thomas Huth Reviewed-by: Markus Armbruster