Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp290610lqo; Thu, 16 May 2024 06:34:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtcAavsWDd46m8wZpkwW9si0ufR5mki7XUA9mt3+kqTjjxM7mIs5w4FblGoPL1C0qaqhW7EdWWs0UlIsaNJlNcHiSozIi1TNpIT9tnYQ== X-Google-Smtp-Source: AGHT+IEA7NiQqXuJ8TNUCzMsc46xnL+zdsA68v0n7ycoPAuexUfcTnJyFqKR0vrL7ENNj2O2OWPv X-Received: by 2002:a50:d611:0:b0:572:a049:c4b3 with SMTP id 4fb4d7f45d1cf-5734d6eda44mr12820357a12.32.1715866461476; Thu, 16 May 2024 06:34:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715866461; cv=pass; d=google.com; s=arc-20160816; b=BWhdRUehPOyj427FGNNzHCZDsuCEmdk08Zra84qpih1sBi3RHFVVBH07aSYBrSIbln SjT7v4nTxz3C3Q+1lR285m/9PRoRh7aWq1XnFs2DfRjZk9IXL9cMdO+Pe6fbTexPvkhO y+EYw4CtPKlVLDalJVQGVC/O77r8nGvHLh/PcYiYJ1eRAu38/ev2xvYPAcWdpNYecP32 uOumgWwt0fNamFaNdD+JdZkFih3FjMDIsnDEAapMP9eGREWTgSDonp+J71jqQNlbcKAb 3RY2mjCObr0LGrUyj3k05b4j7BLi46olLKThaw0hBHUU3XOrjotDmY9VAwZ28Wv9QcCV wQPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vBlXl//d/RAlmi+HPxPl7U1cJg4Qh2W+C0TMwykXuCM=; fh=wDaRGcyGyBQ3Z3dbtfF/INmocwUcnEIFTaIsvmEnn5o=; b=ztIdN1ItkuTneLECh4uUTZ2ZzXTIKqWf4mGj7M4tirNGH6dfnyrFCUsBO+oam0Fl+y yEqPNUojJfunSgI6HG5V+Ho+pxe0OdnZn4m97qAlppoUejllAYUkZGHxQ6hpfVKr5Kug mAlSu+PxOXqCUnO9NPFQxocUrzzdI0JZRrlwU59ut0YwOQzbhJi76m/sRhN/IePt2glO IyqQExxwdEyQ1YZ/iO1qU5LiARrxlHEP1ZCAEu3By/mq82nTFIou0JXQmzAd3AuJeIZ3 nrOy/n0kWjMtQbNAw3/oIyUSaXwCUXw7CL+8hqtA2KlP8c4gnEkf0hvFhiRrHQ5pYIAS 18Ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=owcwvjZq; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-181126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c326e86si8820825a12.351.2024.05.16.06.34.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 06:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=owcwvjZq; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-181126-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181126-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 35EDF1F212D1 for ; Thu, 16 May 2024 13:34:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D65B41474D1; Thu, 16 May 2024 13:34:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="owcwvjZq" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A51E6143749; Thu, 16 May 2024 13:34:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715866454; cv=none; b=eVA2DU0Fdxb8cIHcJoPZq8v+jHRM47r1b/msimUrd6JOmbV0NudA3hyGNjaNLR62Z3xf8jo+sh3jUftsXGSwseyVapqSUgoFOv2gUb3YBO205+KduY1p6tzXZpQ25dm8GtvD7yFWFowggmgcdNJDcGH+S1Giza5IByWPsGifeR0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715866454; c=relaxed/simple; bh=JZvIP7fkjlxerYAwRuAF9K+xV359GpVBqaDRbE9116Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t6E+sbJZQDYUlunY5R4LJh5PZcBp+mheq/6euZJpCC914G020Oi5AyK0Aw7jGhSFTkEIEADwc/edN7E6jzdOKFCT/DgFIHEEhiouCv8AA1m9sc6Tjpjsdv2A9r43Gdfs5Nw7cnvt9X1OqvNLxAcOdQsygjfSe0GHCB4uCPGPxfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=owcwvjZq; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=vBlXl//d/RAlmi+HPxPl7U1cJg4Qh2W+C0TMwykXuCM=; b=owcwvjZqnqwfx97a Kg8KkWhv6iQak1OkJCznYE9cXRQagAbfagvCTPVhu0k/xFtifRQCAwTxCzyc0JX3s1VdxwokMcFYD bR3QAAkOnKTkD83BkXnR//hCjUIoUS2WM3XmCZ+jHKUav48YvtUpA+KdopFXTFILylGh3UTqEtQhB j2P0vUMOzlC+SD7C+Hf7mBUFdk+QgklMen5j5FHteWSK6rmx+UVf5aFPKyVfsaRUSoOJO/NzfP7sT fB3Fpl5wi8QwscfO75HM0IA6ml2IqU79PGa1sjMOS6JXIJYGBjNBASAmvO7g4RjBdJndTLj50JrA6 MVXxtSIJ6z4v/F0mWg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s7bFG-001EoT-0y; Thu, 16 May 2024 13:34:06 +0000 From: linux@treblig.org To: rric@kernel.org, bp@alien8.de, james.morse@arm.com Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] edac: thunderx: remove unused struct 'error_syndrome' Date: Thu, 16 May 2024 14:34:04 +0100 Message-ID: <20240516133404.251397-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'error_syndrome' appears never to have been used. Remove it, together with the MAX_SYNDROME_REGS it used. Signed-off-by: Dr. David Alan Gilbert --- drivers/edac/thunderx_edac.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c index fab9891e569a..75c04dfc3962 100644 --- a/drivers/edac/thunderx_edac.c +++ b/drivers/edac/thunderx_edac.c @@ -35,12 +35,6 @@ enum { ERR_UNKNOWN = 3, }; -#define MAX_SYNDROME_REGS 4 - -struct error_syndrome { - u64 reg[MAX_SYNDROME_REGS]; -}; - struct error_descr { int type; u64 mask; -- 2.45.0