Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3863126imu; Mon, 7 Jan 2019 10:51:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN4S0Y519Zztx/4rPtf2+IpSPcVX8bov0eS3VpKvgcNaJsofZuI5cTFiifNhyOln8pM9v5Tk X-Received: by 2002:a17:902:9045:: with SMTP id w5mr59761718plz.32.1546887069490; Mon, 07 Jan 2019 10:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546887069; cv=none; d=google.com; s=arc-20160816; b=RwaUKuwQC2mLtoL29j/ump9iG1n7bMF5cfar5dxlQ+DMx+N/Z3Cj0f2hYS4D5DxwAS nFaaeljVLnRF3AVQ77QVP+XzojdtB4C0QxzI4K8re7FBSdoQDizpOQFzW7xoZy3Pnhxk VxFjG5YO7xJvoFdjZHv/G0d9QplFUfnzNzyioWeAX5gwGxiN/JBHSpWxv5pjeq8m9BE2 N5Q/B/GqPGFcq503i43TM577vY94G24rWBKkLI+8ydGYUTAZdYiRtxhgaskXruXOV6P6 FOgWR+t2Gy45awImoW3cfDmirxvQ6HHE+IlODqfPRR/0SrPZiDWHkorDFbbyo50Hlqqp LgHA== 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=Gw/wGGgI4459nvmbbMmNK4fccL2B62wc9iCDOFL9Qzo=; b=YpX1lRnmH3rsgztDlIPuDkb6IY18n4+E3rAOcL19Xt5C2q3XayeH3D0Lev4N7yek6g jsYY7ijT+wKIR5e/McbY8iQDjPcaBUnvAiDqwnIrOSyyW+Uhn8JYzsNq4MyWl/ZNhLZb A+idEFKWrnDyR+bRHZei0FvAaMLQ0g1D5uPGno/XkXcgse0ckXkvekRnao7gmOQTWG3Z zz6OLMcBmXp5GixY/8XojED7K1z7iCJF7gqe7JDH22TX2n4gskr+aCqO7UuFkj2eiaop anNWAsX3VXYYBsVHfPUiWGojWosNoeLFAjpO2ogt0K+p1eClEJcccFRHDBUKc/oaFqIg b+ZA== 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 z10si3077085pfm.37.2019.01.07.10.50.54; Mon, 07 Jan 2019 10:51:09 -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 S1730651AbfAGQ2k (ORCPT + 99 others); Mon, 7 Jan 2019 11:28:40 -0500 Received: from foss.arm.com ([217.140.101.70]:34566 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728174AbfAGQ2j (ORCPT ); Mon, 7 Jan 2019 11:28:39 -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 D44801713; Mon, 7 Jan 2019 08:28:38 -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 6012F3F5A0; Mon, 7 Jan 2019 08:28:34 -0800 (PST) From: Andrew Murray To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Richard Henderson , Ivan Kokshaysky , Matt Turner , Will Deacon , Mark Rutland , Shawn Guo , Sascha Hauer , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Borislav Petkov , Russell King , suzuki.poulose@arm.com, robin.murphy@arm.com, Michael Ellerman Cc: x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-alpha@vger.kernel.org Subject: [PATCH v4 12/13] perf/core: remove unused perf_flags Date: Mon, 7 Jan 2019 16:27:29 +0000 Message-Id: <1546878450-20341-13-git-send-email-andrew.murray@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1546878450-20341-1-git-send-email-andrew.murray@arm.com> References: <1546878450-20341-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 9de8780..ea19b5d 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 9de8780..ea19b5d 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