Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp281583imu; Fri, 16 Nov 2018 02:27:07 -0800 (PST) X-Google-Smtp-Source: AJdET5dUedJJbKBPCS6keXkpyB/0QosEntlxWdLU038eANXXQF4aFtuQ/R1emqW4UtZivOSeImP0 X-Received: by 2002:a17:902:583:: with SMTP id f3mr1017696plf.202.1542364027202; Fri, 16 Nov 2018 02:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542364027; cv=none; d=google.com; s=arc-20160816; b=qV47y5rsn/q9VJCNxjljV0NwYhselIMw8ZSErRFT7A0C0I+hn/A5Uh49oLunF4U3X2 5hwTzYJSOGX2AVDvJZ912KVpZBmouAA6PG0Oi0E1k/3TUp3j44eCrqEcCoMGL4G9UA6e 8FU9h2vsuavThtftCYy1c126HQ/L6V3OnUPt5NhlWBkp+pIz9X2grEiyr1Ihdt9CaH8g 6bq8zlk0VGLvF3MKtoxi8H+cahavsVtSgYVzYqqDE1FL6os+AfFzqGf2MyEUOLRNwdrd PC5McimJjidRKgoOJsTv3Qoe/MB1BioWIrX4c1ARZKx/W/oAz/6QxwwKYL98dmtXO0bS Fl2w== 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; bh=lqNYTb92znUVB5I5kpasvFEBjtnsJ+9WhYuXi9MjHKE=; b=k9yIoRTA33OKOX+GMlJwwhLTcSyL+jhxeUBF3WFY8qtSs2sLL2lkFLPqQOMWsW++EV gm3njNX2vKVLjp+Z0ttn7L/33m+7m300inKSLt0vkBqWGoW3wwXtw4b4w6FjM+Qawlj+ /3wOz1BCwIpKFFEWvSkr1CWuGgRvwwrMlITsV3s5BZHC2kgoKa+fA4p/nR70T5OIclxD kVC8i3hCKRiN9PKMcs22ItC6TAq+Slw7WLRO+oNJBaYcCvO+Q/7157bRyPBQmnyA9n4Y PjQfkHcFP6SlI+5j7el+eEFItjXT4+Lp11wh5pHOZt7k+mEZeh38th5D6lkjrUtZIfYq T48w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si17978302pgm.467.2018.11.16.02.26.53; Fri, 16 Nov 2018 02:27:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389653AbeKPUgd (ORCPT + 99 others); Fri, 16 Nov 2018 15:36:33 -0500 Received: from foss.arm.com ([217.140.101.70]:48870 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727681AbeKPUgc (ORCPT ); Fri, 16 Nov 2018 15:36:32 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6FD1415BF; Fri, 16 Nov 2018 02:24:50 -0800 (PST) Received: from e119886-lin.cambridge.arm.com (unknown [10.37.6.11]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 69DAD3F5BD; Fri, 16 Nov 2018 02:24:47 -0800 (PST) From: Andrew Murray To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Shawn Guo , Sascha Hauer , Will Deacon , Mark Rutland , Benjamin Herrenschmidt , Thomas Gleixner , Borislav Petkov , x86@kernel.org Cc: linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/10] perf/core: Remove unused perf_flags Date: Fri, 16 Nov 2018 10:24:11 +0000 Message-Id: <1542363853-13849-9-git-send-email-andrew.murray@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1542363853-13849-1-git-send-email-andrew.murray@arm.com> References: <1542363853-13849-1-git-send-email-andrew.murray@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that perf_flags is not used we remove it. Signed-off-by: Andrew Murray --- include/uapi/linux/perf_event.h | 2 -- tools/include/uapi/linux/perf_event.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index f35eb72..ba89bd3 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h @@ -445,8 +445,6 @@ struct perf_event_query_bpf { __u32 ids[0]; }; -#define perf_flags(attr) (*(&(attr)->read_format + 1)) - /* * Ioctls that can be done on a perf event fd: */ diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h index f35eb72..ba89bd3 100644 --- a/tools/include/uapi/linux/perf_event.h +++ b/tools/include/uapi/linux/perf_event.h @@ -445,8 +445,6 @@ struct perf_event_query_bpf { __u32 ids[0]; }; -#define perf_flags(attr) (*(&(attr)->read_format + 1)) - /* * Ioctls that can be done on a perf event fd: */ -- 2.7.4