From patchwork Thu Sep 3 13:45:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 11753617 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7F8DB618 for ; Thu, 3 Sep 2020 13:46:09 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 502C02071B for ; Thu, 3 Sep 2020 13:46:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZvjaqcJb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 502C02071B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:51848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDpZ2-0001C4-FV for patchwork-qemu-devel@patchwork.kernel.org; Thu, 03 Sep 2020 09:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDpYE-0008K7-Ps for qemu-devel@nongnu.org; Thu, 03 Sep 2020 09:45:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:59861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kDpYD-0001BD-8p for qemu-devel@nongnu.org; Thu, 03 Sep 2020 09:45:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599140716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xnJGsFmE0lHc/vacaNXhWmico4HRbt/COcagt38PJC8=; b=ZvjaqcJbQ90ZEHy82JiSez2r3a83b1/ay+oq0QvlgYK/FbTbrHg0A3/jTWa2gPNdVT7w/v wkcfZsNufPrQxr+e9+cfymxWSQwcAMur1i7n4wPEJu7JjxbxbTopsxMJ7xxuPnquJGDOVA 3lFy9p7uCuUDc5j0NvR1e0LiCtohQcw= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-223-qmwgOZ2jM9Gk9znvFWbkQg-1; Thu, 03 Sep 2020 09:45:14 -0400 X-MC-Unique: qmwgOZ2jM9Gk9znvFWbkQg-1 Received: by mail-wr1-f70.google.com with SMTP id b8so1110643wrr.2 for ; Thu, 03 Sep 2020 06:45:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xnJGsFmE0lHc/vacaNXhWmico4HRbt/COcagt38PJC8=; b=QXMvktCenDGx5WJt1ooXnmcM39T7hXqt1D0HyimpD/Jji9gq0CUNPlDnpDVu2LP55n a8ER4TOQYRRuFCUoRKyemzpHyyR3+37ZeCf72urfJggn/97vwYUwftQ53hJQN3A7RWbk ZQy6qQl//XWxMSZ13TJT8EdhrRa1RwDZEruX088NP5BIATD75ilq6rxlbYNf7LM4Ofc6 Y79Ts0Zl4I3OaeHCIDzzkYPcMZSYiVjvOkfRAClJKm0XEamCjPl4Kl1sulVx8jH94TeD 0uLc63RcOQYFlANycX4FLCB+KwhLQhvwc6pkfRAMIgCd/x6PzVu4IvHjOFAeAwDFNgaj PtwA== X-Gm-Message-State: AOAM5309nbVKiRqXcD2XKcxvsIb7oHsA/MMPgJg/eCnRgspG+DA2MhO1 wZ73ABIaxTnDcjpVSfJIm6sjtgwfn8474rrCrG2jeZOrj48ONPwejv/tdtZ529WNgKZRIldz48U 2SjKb1sdJRXlJaEE= X-Received: by 2002:a5d:68d1:: with SMTP id p17mr2498267wrw.378.1599140713414; Thu, 03 Sep 2020 06:45:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkd59juEn6Zi7SDnJ4jjLVol29LXybzqo3sRN18mbzyAzNizyapEc+rY3LZwa19TcFn2OUmA== X-Received: by 2002:a5d:68d1:: with SMTP id p17mr2498250wrw.378.1599140713266; Thu, 03 Sep 2020 06:45:13 -0700 (PDT) Received: from localhost.localdomain (50.red-83-52-54.dynamicip.rima-tde.net. [83.52.54.50]) by smtp.gmail.com with ESMTPSA id l10sm4408149wru.59.2020.09.03.06.45.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 06:45:12 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 1/2] hw/timer/hpet: Remove dead code Date: Thu, 3 Sep 2020 15:45:05 +0200 Message-Id: <20200903134506.440082-2-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200903134506.440082-1-philmd@redhat.com> References: <20200903134506.440082-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0.001 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/03 01:47:17 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Michael S. Tsirkin" , qemu-trivial@nongnu.org, Michael Tokarev , Laurent Vivier , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" This code was never compiled/used, remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- hw/timer/hpet.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c index 380acfa7c8a..b683f64f1d3 100644 --- a/hw/timer/hpet.c +++ b/hw/timer/hpet.c @@ -416,20 +416,6 @@ static void hpet_del_timer(HPETTimer *t) update_irq(t, 0); } -#ifdef HPET_DEBUG -static uint32_t hpet_ram_readb(void *opaque, hwaddr addr) -{ - printf("qemu: hpet_read b at %" PRIx64 "\n", addr); - return 0; -} - -static uint32_t hpet_ram_readw(void *opaque, hwaddr addr) -{ - printf("qemu: hpet_read w at %" PRIx64 "\n", addr); - return 0; -} -#endif - static uint64_t hpet_ram_read(void *opaque, hwaddr addr, unsigned size) {