From patchwork Mon Oct 19 21:45:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 55264 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 5B3D822F11 for ; Mon, 19 Oct 2015 22:02:47 +0000 (UTC) Received: by lbbpp2 with SMTP id pp2sf19587314lbb.0 for ; Mon, 19 Oct 2015 15:02:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=RLMQPhC797OjAIqgi1UheOKnZpvwV3HKi9d2Y86WQEE=; b=XdKwfj1Op9y17Sy29dwI93A/EIj93hPBy00elvjzBVyV8x842weCCcBTf/ZC17jo7h Dmx4SZLXEB53A2OZMjqqI1VN+zzcKSktJAANPPSQcjTa8mRXjIJK2MIRLFSwyNewyhno Yk4+H3GnRX5mwR8RG8wk5iS6iRvbExchhOsCSIcOokkJBKbHnojrE2peZnXnOwlg3eoT skSUGfEergxGeZOTcf0XKx6ZLO40+sWaTsB62I04ZdrwMzS19HYwdu4Jnhh7x9Aw+VCK Siuw+ugAiWPl6mTbDybc2jnyrwrpsDJp3PcOxNWZVXIkNabguSHS/oo57aembP+1+OUQ LJXw== X-Gm-Message-State: ALoCoQlf/5V+BA0dm9DhG938bbCBsdvtMl2rlC/vBxRzkAnXGYhlZ2xfyVusngenFWpd/ynNvGxy X-Received: by 10.112.12.132 with SMTP id y4mr7026476lbb.0.1445292166329; Mon, 19 Oct 2015 15:02:46 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.89.207 with SMTP id n198ls607505lfb.54.gmail; Mon, 19 Oct 2015 15:02:46 -0700 (PDT) X-Received: by 10.25.149.139 with SMTP id x133mr8109310lfd.53.1445292166163; Mon, 19 Oct 2015 15:02:46 -0700 (PDT) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com. [2a00:1450:4010:c04::230]) by mx.google.com with ESMTPS id h139si24454762lfb.126.2015.10.19.15.02.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 15:02:45 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::230 as permitted sender) client-ip=2a00:1450:4010:c04::230; Received: by lbcao8 with SMTP id ao8so157898366lbc.3 for ; Mon, 19 Oct 2015 15:02:45 -0700 (PDT) X-Received: by 10.25.210.206 with SMTP id j197mr10565817lfg.86.1445292165712; Mon, 19 Oct 2015 15:02:45 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1721048lbq; Mon, 19 Oct 2015 15:02:44 -0700 (PDT) X-Received: by 10.66.158.233 with SMTP id wx9mr37495869pab.157.1445292164590; Mon, 19 Oct 2015 15:02:44 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xo9si55618741pab.125.2015.10.19.15.02.44; Mon, 19 Oct 2015 15:02:44 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754764AbbJSWCn (ORCPT + 28 others); Mon, 19 Oct 2015 18:02:43 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:35316 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752087AbbJSWCl (ORCPT ); Mon, 19 Oct 2015 18:02:41 -0400 Received: by pasz6 with SMTP id z6so41726138pas.2 for ; Mon, 19 Oct 2015 15:02:41 -0700 (PDT) X-Received: by 10.68.68.143 with SMTP id w15mr37589991pbt.56.1445292161135; Mon, 19 Oct 2015 15:02:41 -0700 (PDT) Received: from yshi-Precision-T5600.corp.ad.wrs.com (unknown-216-82.windriver.com. [147.11.216.82]) by smtp.gmail.com with ESMTPSA id d2sm38439631pat.24.2015.10.19.15.02.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Oct 2015 15:02:40 -0700 (PDT) From: Yang Shi To: fweisbec@gmail.com, paulmck@linux.vnet.ibm.com, josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com Cc: linux-kernel@vger.kernel.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [PATCH] rcu: remove rcu_user_hooks_switch Date: Mon, 19 Oct 2015 14:45:02 -0700 Message-Id: <1445291102-13176-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Original-Sender: yang.shi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::230 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It is not invoked by anyone now, just remove it. Signed-off-by: Yang Shi --- include/linux/rcupdate.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 581abf8..56355bc 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -345,8 +345,6 @@ void rcu_user_exit(void); #else static inline void rcu_user_enter(void) { } static inline void rcu_user_exit(void) { } -static inline void rcu_user_hooks_switch(struct task_struct *prev, - struct task_struct *next) { } #endif /* CONFIG_NO_HZ_FULL */ #ifdef CONFIG_RCU_NOCB_CPU