Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3134936ybi; Sun, 2 Jun 2019 08:05:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3tSyqGe2/EM1V64qApkVFpx7jGYfr1RqShxyoGrLVia8fjTOldnYd+UvXrcpC+IMLCWbB X-Received: by 2002:a17:90a:aa85:: with SMTP id l5mr22702612pjq.69.1559487947324; Sun, 02 Jun 2019 08:05:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559487947; cv=none; d=google.com; s=arc-20160816; b=kBzv71ESEy115W9EyPYGdz67BtqQjgj1utWlKHVHiNIXlxx3HvOtOqavh7/K7cbV1P 61ZEzUTI82ENj+YB87788GX8JP5MbDAvRPxHBgzhxGUbr9NU/kSFWKb0j2oR80jsYWx/ XXUOhcsy1ajlPZARtZjlnW7vtIyIDBRPOnxghpIZE+8/v8KVlueMHJ/eOr/hGCU78xFz BFYGnSIC2if0nme8L8CTpC2QK+Cp8AiGHuTvQS/ew21beni4yMvmhu8eGO9qG8AlWUH/ kD4V4xS4SemndZX07iFjuriVBTp1aks6h/PDpC9nZgGGg1nasV1zJE6TpX6vdFNtMie0 6lOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=vHjadsq2SmHKIIDi66BdXBr4HfecgU1lyBQr8KyLXzg=; b=dMaxEgLuQmpxbN7GWb0c9q8HVSkD8UXoR31igvoUgUIFKPnQBGuc4XaJDElm74UPUF +Tur1dP69jUU+rOkeFJsN/ZoxvnOSCXxbqguRM4J4insAVi0JJ5hOGOWecXmqXAK3j25 kLI/iXq3DkcqaG3VQjAoLTXpuIZninkn9L7/juw9GsktCc8n2BYXekOPQhslnCCFkUGZ VY30hNuBBeRcwKszK4bbarQbpl2GXAKP27yi9BK7XoallD/Q4iHTOMI+5J7Gswb8If08 bBqfCYhlFy3PKnRjFZtNtMlopxSLJ95ngNZePeoLaRdcJS8XkloYaAlpWiy5AyIe06Fv bBEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IkaWIRjd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si14195040pjs.104.2019.06.02.08.05.30; Sun, 02 Jun 2019 08:05:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IkaWIRjd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726754AbfFBPEW (ORCPT + 99 others); Sun, 2 Jun 2019 11:04:22 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37686 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726229AbfFBPEW (ORCPT ); Sun, 2 Jun 2019 11:04:22 -0400 Received: by mail-wr1-f66.google.com with SMTP id h1so9606918wro.4 for ; Sun, 02 Jun 2019 08:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:reply-to:mime-version :content-transfer-encoding; bh=vHjadsq2SmHKIIDi66BdXBr4HfecgU1lyBQr8KyLXzg=; b=IkaWIRjd589JaVtRKzkjt7NCBSGtuWoo+EDldWeay10DJWIi5/p0t/nMAXnCrsZS/H jY5FR/xyvLkVzS8n26eDC0kiLFpiu3koA6n4UDFq92n/teLUCPrsBCXZ7qoBnxCrHss2 NwfsRp0Om/HptRyyMhRYHVq/ybHbblr2iXjZ6ePUJHQG6jzaZISUQEdHZ7K+ldzI58kr h0oscnkxc3f+FcVdSYako3LDaEjPvDF/MyWiZ1AvLoFdSlxrZ/h869oPzB2XFTpITtTW Hz4TrnJq50BaIewGWVjjTOAiCLeFFvFIv67ZLvIycT47eBT3CW4N37GHqvFPyP2t3Hip 6ECg== 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:reply-to :mime-version:content-transfer-encoding; bh=vHjadsq2SmHKIIDi66BdXBr4HfecgU1lyBQr8KyLXzg=; b=ebX5whkbs3i8cr4wIk9GLdtOQc6S6U8qui/qupaLlhpdkC1lk5PiN8uYFgeq3MVlEO igurYOIJvh4B9SHDlIIkzhZ95S5O+8EP6j18PXXnqobwMRj+QoPGoy8cbvi5z+CMKu8U /XB284lYQ9JMsYdKkAYI4a+1h4KmYQjmqXWp7mJiz/e+EyfCYcLOJ8ALq0GLDNqazX0g VciUzhduMxUa2aCE156U1dBBdTCbdYYYm3Ix/CpYeheweWIDQ2tXbNw04rQNFUEVMZKQ Ih5wNZn1v6GR/P1Q37iu47fnZ9HqsinRGbhFA93ehIAIUOnF3PSRR4Xo9mGSi6/m3S5B 3tFQ== X-Gm-Message-State: APjAAAW9vSotKxqxBBl976YWukHMZzOBkkbee2mObwQgq953e7AOZruM 9BWO+5N0IiqYuz/hmwEhPFPXaJAgX6E= X-Received: by 2002:adf:f544:: with SMTP id j4mr6219388wrp.150.1559487860378; Sun, 02 Jun 2019 08:04:20 -0700 (PDT) Received: from p200300EEEE2F.fritz.box (p200300C98712670014A3D3D52C57F0B4.dip0.t-ipconnect.de. [2003:c9:8712:6700:14a3:d3d5:2c57:f0b4]) by smtp.gmail.com with ESMTPSA id u19sm31346627wmu.41.2019.06.02.08.04.19 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 02 Jun 2019 08:04:19 -0700 (PDT) From: Emanuel Bennici To: linux-kernel@vger.kernel.org Cc: Bjorn Helgaas , Joe Perches Subject: [PATCH 1/2] pci: shpchp: Remove unused callback get_mode1_ECC_cap Date: Sun, 2 Jun 2019 17:04:12 +0200 Message-Id: <20190602150418.31723-1-benniciemanuel78@gmail.com> X-Mailer: git-send-email 2.19.1 Reply-To: benniciemanuel78@gmail.com MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This callback is never invoked/ used in this driver. Removing this callback does not affect the driver. Signed-off-by: Emanuel Bennici --- drivers/pci/hotplug/shpchp_hpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/hotplug/shpchp_hpc.c b/drivers/pci/hotplug/shpchp_hpc.c index db047284c291..59f75e567c63 100644 --- a/drivers/pci/hotplug/shpchp_hpc.c +++ b/drivers/pci/hotplug/shpchp_hpc.c @@ -905,7 +905,6 @@ static const struct hpc_ops shpchp_hpc_ops = { .get_adapter_status = hpc_get_adapter_status, .get_adapter_speed = hpc_get_adapter_speed, - .get_mode1_ECC_cap = hpc_get_mode1_ECC_cap, .get_prog_int = hpc_get_prog_int, .query_power_fault = hpc_query_power_fault, -- 2.19.1