From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duNfF-0001lg-FW for qemu-devel@nongnu.org; Tue, 19 Sep 2017 14:54:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duNfE-0000yi-GC for qemu-devel@nongnu.org; Tue, 19 Sep 2017 14:54:33 -0400 References: <1505298088-10878-1-git-send-email-thuth@redhat.com> <23cfaae7-7744-9865-6f43-9b74b2d60ec9@redhat.com> <853d5df6-a7a9-9284-ebbd-6282352879ba@redhat.com> From: John Snow Message-ID: <23878739-8df8-c2a4-2bf7-4c288cca56b8@redhat.com> Date: Tue, 19 Sep 2017 14:54:20 -0400 MIME-Version: 1.0 In-Reply-To: <853d5df6-a7a9-9284-ebbd-6282352879ba@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Dead code in cpu-models.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , Paolo Bonzini , Kevin Wolf , qemu-block@nongnu.org Cc: Igor Mammedov , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Max Reitz On 09/19/2017 04:14 AM, Thomas Huth wrote: > On 19.09.2017 10:06, Paolo Bonzini wrote: >> On 13/09/2017 21:08, John Snow wrote: > [...] >>> Farewell, bitrot code. >>> >>> Reviewed-by: John Snow >>> >>> Out of curiosity, I wonder ... >>> >>> jhuston@probe (foobar) ~/s/qemu> git grep '#if 0' | wc -l >>> 320 >> >> $ git grep -c '#if 0' | sort -k2 --field-separator=: -n >> ... >> hw/net/eepro100.c:21 >> target/ppc/cpu-models.h:76 >> >> whoa :) > > Igor recently already removed the dead definitions from cpu-models.c : > > https://git.qemu.org/?p=qemu.git;a=commitdiff;h=aef779605779579afbafff > > I guess we could now remove the corresponding dead definitions from the > header, too... > > Any volunteers? > > Thomas > Well, I can just take a chainsaw to it blindly if you want to critique it.