Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4195163ybl; Mon, 3 Feb 2020 14:28:26 -0800 (PST) X-Google-Smtp-Source: APXvYqy2EbCCKK3Phhxlwyi0JjTfCc8GSUbJ4qYKVgDue9vSHzbGHCfk6INGGQtOSKvsjrfdlBYY X-Received: by 2002:a05:6830:1353:: with SMTP id r19mr19903674otq.288.1580768906766; Mon, 03 Feb 2020 14:28:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580768906; cv=none; d=google.com; s=arc-20160816; b=CeI8wA/IYV8eLj/YRK4S3OayvWY7n5p4km+/WV9zzga8fQsq/cmBAiAJZFJhkv1Eqi 4wKu6wOkJhd+5qN8bfLSfp5CuNMnSG5rmnbl8ymxNz2JS+adGtaqbGoC5tgaPiuDdd1s HvvBP+bYX4zc2G1qyS8ssKyKJySD/PglvXPf7X9UMPt4D187IVD2CEtnfHNdhHdoUxyJ gpkZSLiFoEKiEprBFEgNV0aT83OK5V+YHVa84A2TI3SmXncplJkLXR4aPl9XIYNNMPKP kFcyQFm220IIpgmq9aMR9xeyIpBX7Lz/6Rl+niESEE3FGVUqqQwVQwPTXnZQGLTMl2lQ LbVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=bipqZYiQsQOfSn9eev8SYRXHv6uesR09OSvUzeqSz34=; b=aZ9m5WIBdkg3XzdUGl69GUte3bDzDfC68UzobzBa/lKjV8KCUVdVPk9fMJRczvXloj On13cYlyNe7iYTqzLdDIQ4lvQwmhAjG7LUKHvJ10YZX5Y2zLWWYnGeAdeR5CMslpKirg i8+9oPTSpOaB5hl6u99P3TJadRPlIANHXLFjVCVKqYE0XK//chdmbQhE4BOdFTR/oF1p t2XDfqGhTiZjI5N/xvP18B8pzy9YOvaxBi2XYIrTFJobj46LunBXw9VcjlTt1XGnDoWA DUifaHBFQcWZPL/bzY1rZFyiGSAjHTgLm50LqjvAjIeOQJ6UdZD+3aW+sMh4C60752FH a0lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dDCNCC8c; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d28si1848167oic.47.2020.02.03.14.28.14; Mon, 03 Feb 2020 14:28:26 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=dDCNCC8c; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727148AbgBCW0j (ORCPT + 99 others); Mon, 3 Feb 2020 17:26:39 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:46852 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726992AbgBCW0j (ORCPT ); Mon, 3 Feb 2020 17:26:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580768798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=bipqZYiQsQOfSn9eev8SYRXHv6uesR09OSvUzeqSz34=; b=dDCNCC8cyosA7bm/FGsfODZwvj+yaWX88kw7+qFRihVxV7vuHwmPiuPysd1VMn7cphICVn HyQYYbEp90ENAqHUN185dbtxP6y9WQpZjIHsVPYBAAOUKBgN7nl6lvhFELEkY3kmF828Bt vLE0sOuDjtxa+fCsfLU1h6qGjQSQpAE= Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-93-hASaOIK7NQKFW6LPsebsOA-1; Mon, 03 Feb 2020 17:26:36 -0500 X-MC-Unique: hASaOIK7NQKFW6LPsebsOA-1 Received: by mail-pj1-f70.google.com with SMTP id d22so423161pjz.0 for ; Mon, 03 Feb 2020 14:26:36 -0800 (PST) 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; bh=bipqZYiQsQOfSn9eev8SYRXHv6uesR09OSvUzeqSz34=; b=kdtYTA+WC+hyTcjfRhXHxYWxcOtrMK00ckTBipCZL3ygkXGdXzXEnpah4cN63RW29T Q8uoECkSKa0cbAgTWScY8yET5xkX5dPCkGHGnqSiSngjgt7WXl3fWgxiW1a79192Au59 T6YQY2Pq4F/WaawD6S9Z7JgKIMc7pUE54OGczOchwIh1GYOs9BFZfL7cnzMl80uALgX/ 21h1JMJ9JT0pEihtE3uyt+Gp4bLgzEPYpd+ncZ+Pm4fJLfyizBH8ANs3CnVb2fcKwqkF haytoz4mv3yprlcRDm8pusDBk4AE0rAXDI6p7C1ZW1u1goobYh85ozDNc4xXte4YaDU4 8rYA== X-Gm-Message-State: APjAAAXNQ2Tq1h7lkfRGdzb8kyHXJNrKEeqIrAydsOegVWALL4uNGNq0 2pDzYpGRAFNBYSp0hLRtxLx84IqyZR87ntt5/yFWRxBZ0RQhlPGrhPGgCWc19fPL+7K9F4E47pg oWLtYe9ipxVKx773Oasa17ASf X-Received: by 2002:a17:90a:a416:: with SMTP id y22mr1622315pjp.114.1580768795553; Mon, 03 Feb 2020 14:26:35 -0800 (PST) X-Received: by 2002:a17:90a:a416:: with SMTP id y22mr1622294pjp.114.1580768795328; Mon, 03 Feb 2020 14:26:35 -0800 (PST) Received: from localhost ([122.177.227.116]) by smtp.gmail.com with ESMTPSA id n4sm21155444pgg.88.2020.02.03.14.26.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Feb 2020 14:26:34 -0800 (PST) From: Bhupesh Sharma To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, bhsharma@redhat.com, bhupesh.linux@gmail.com, Mark Rutland , Will Deacon , Catalin Marinas , Ard Biesheuvel Subject: [PATCH 1/2] hw_breakpoint: Remove unused '__register_perf_hw_breakpoint' declaration Date: Tue, 4 Feb 2020 03:56:23 +0530 Message-Id: <1580768784-25868-2-git-send-email-bhsharma@redhat.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1580768784-25868-1-git-send-email-bhsharma@redhat.com> References: <1580768784-25868-1-git-send-email-bhsharma@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit b326e9560a28 ("hw-breakpoints: Use overflow handler instead of the event callback") removed '__register_perf_hw_breakpoint' function usage and replaced it with 'register_perf_hw_breakpoint' function. Remove the left-over unused '__register_perf_hw_breakpoint' declaration from 'hw_breakpoint.h' as well. Cc: Mark Rutland Cc: Will Deacon Cc: Catalin Marinas Cc: Ard Biesheuvel Signed-off-by: Bhupesh Sharma --- include/linux/hw_breakpoint.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/hw_breakpoint.h b/include/linux/hw_breakpoint.h index 6058c3844a76..fe1302da8e0f 100644 --- a/include/linux/hw_breakpoint.h +++ b/include/linux/hw_breakpoint.h @@ -72,7 +72,6 @@ register_wide_hw_breakpoint(struct perf_event_attr *attr, void *context); extern int register_perf_hw_breakpoint(struct perf_event *bp); -extern int __register_perf_hw_breakpoint(struct perf_event *bp); extern void unregister_hw_breakpoint(struct perf_event *bp); extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events); @@ -115,8 +114,6 @@ register_wide_hw_breakpoint(struct perf_event_attr *attr, void *context) { return NULL; } static inline int register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; } -static inline int -__register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; } static inline void unregister_hw_breakpoint(struct perf_event *bp) { } static inline void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { } -- 2.7.4