From nobody Tue Feb 10 04:13:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578487894; cv=none; d=zohomail.com; s=zohoarc; b=DIL2d2aUvwFQSsYXCyR7A4KwdWxHmmhe36iIlDai8xlq42bRFlbdElK4v6+KxHr04NCaJpzFo8RAgw3WKusKa/01HBFgmFyjP1cNU5nYI1dFbki60xsYVVzSOoMbHxbHpjVPbWpZXiAnxImroK3dgwjgNw7mmkOJQkJoo41GckA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578487894; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=lO5wl48k6ZDCJruKpNcQHB08wbkpBLoPs4vSZC8J3nY=; b=GTJg1ZV4DxVlOP8ImX96HExtBjrT95AtEV9r2UW7vOKmgpfjD6bL+D6Yn+r9vsv023dUwi41H+4PMXLm4eenko6mbRPtaHGKrJWtUcW6Z1/sw0RSahziSjUp5ODNekzQ8e5s4oPuKED1GHJsChVEZEbSYOse3U77N9kxtghPxog= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1578487894340653.9632714273216; Wed, 8 Jan 2020 04:51:34 -0800 (PST) Received: from localhost ([::1]:43056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAo8-0004e1-VI for importer@patchew.org; Wed, 08 Jan 2020 07:51:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60581) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipAWc-00048G-Re for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipAWZ-0004TE-QI for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:26 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:39182) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ipAWZ-0004SN-KC for qemu-devel@nongnu.org; Wed, 08 Jan 2020 07:33:23 -0500 Received: by mail-wm1-x330.google.com with SMTP id 20so2309943wmj.4 for ; Wed, 08 Jan 2020 04:33:23 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id o4sm4037750wrw.97.2020.01.08.04.33.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Jan 2020 04:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lO5wl48k6ZDCJruKpNcQHB08wbkpBLoPs4vSZC8J3nY=; b=ctKceCIK+FnmoZUYBVJ2doBjzS4WNDc9zuFfDXLTCOq0gwHobqm4/QHSr5/vRvetOo 2vLJ3TWeWZuhP9AWlojO3aBrD/hRcQuwUcBNIo3pZzug8sh80fwB7O821cyf97w1QKNQ O/+Ilqqx3sqrLIYw31+dQD9PrBhx5prrSjJYy44OXJxShYEO6dHFJ7d2gRKt33NsJqgG lbcv1WmYTCRElEPaOojT7QJguDA6CHRAMrycQrNOnRGAWPI6zTDaUDk7SyWS90O5vUP2 aakw4HAwhI8eQuiHVTKupWNxaoOL/acf7/rVGaZRyY8MoHfsTZ3j0vXdcyOA/hy0Zvny MD2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=lO5wl48k6ZDCJruKpNcQHB08wbkpBLoPs4vSZC8J3nY=; b=qZa7uvLw4cymWPMCSO3IwUUmHDjLtWLsR23x0v1itW4mfxhaWCKS0jWMspo/P+aSGx qAiUE9T4eVR38BgXmILSwzGkRyCo/+JXL0+l0BPTp1w9nWWJUOxhsKWF+J3+x5W5r064 JBAfXTTRFvVCXf70aR8XSJ8OM0HxHW3thhpOV+bDV/GQhjNrpbCYqg34rEMr+yw5zXsd FwKUrpJO1DDzO2Gnn+vSsiLorUj6f/59cbLh/eJFeWOXaRV+yxkXx6FipFrnSeo99HoF EwhyqFEIO2s4VMEHJ6KZmV2xzNkuyzF5FH5zmXkWAeOycrkjn4QcERSm8mfVovMaYBN2 nyWg== X-Gm-Message-State: APjAAAUQz7RMclc9MS7UqFVTntAc4rWVS3Rgnj9VmQDEwvGfeIecRTBG zgDxV7GmnOibUOk9+cWPFkP9UUV8 X-Google-Smtp-Source: APXvYqx9LhkAy8x00lGhJ7J3XbPdeKsCPJ69sNujImKGbltXSetdg9kdAtNy2cvVxCtJywL7mxnTNA== X-Received: by 2002:a7b:cc09:: with SMTP id f9mr3685247wmh.71.1578486802503; Wed, 08 Jan 2020 04:33:22 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 24/38] hw/ipmi: Remove unnecessary declarations Date: Wed, 8 Jan 2020 13:32:41 +0100 Message-Id: <1578486775-52247-25-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> References: <1578486775-52247-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::330 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Philippe Mathieu-Daud=C3=A9 Since we don't use these methods before defining them, no need to forward-declare them. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Corey Minyard Reviewed-by: Marc-Andr=C3=A9 Lureau Message-Id: <20191218172009.8868-2-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- hw/ipmi/ipmi_bmc_extern.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c index 87da9ff..450926e 100644 --- a/hw/ipmi/ipmi_bmc_extern.c +++ b/hw/ipmi/ipmi_bmc_extern.c @@ -87,10 +87,6 @@ typedef struct IPMIBmcExtern { bool send_reset; } IPMIBmcExtern; =20 -static int can_receive(void *opaque); -static void receive(void *opaque, const uint8_t *buf, int size); -static void chr_event(void *opaque, int event); - static unsigned char ipmb_checksum(const unsigned char *data, int size, unsigned char start) { --=20 1.8.3.1