Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp130967imm; Thu, 2 Aug 2018 15:27:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeAn2TmVVhsvBDNPc5Ybn+PwPz1h9u6N0a9uOP9Zq4TThoBhq6QX9M6bQCcfSG0X/xb6jga X-Received: by 2002:a63:66c7:: with SMTP id a190-v6mr1138603pgc.411.1533248827130; Thu, 02 Aug 2018 15:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533248827; cv=none; d=google.com; s=arc-20160816; b=TySOE1FU5oNbDAh204O42hBMZD9uqQVFTfj1BZvNaA9hnv0UZrkgu5ong/o4ixcHDQ Ny/nuTLROnZHO6f7D2Ar1PdKPeVXb5rAp/Sm9S5V3ONKh+qfKR8oX5tWLjzc3maaW8vu BUPg1UCzg5ETuyLNWsgCHhFv5Sf4grA/NvkIbpYBdSxY+EvT8inLU5J4nK/bGsBWdRKb 3XSrglf5VKJ/peV+fPQQQVOECWGvorzQFGFiMlHHH+5CaRt2vnEB/ZeLrL8/it8aSfz5 7LLVteO9wpuz+UQK91twQ/kQV4hprftMgEJa8gEwkxriwrTterTRcGJzgqJ2z6cbKNLk KgVg== 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:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=xFKsqAx7agjJhDjl+/Ikk1MxtNS3VidJsTJbNspO6ss=; b=M0u7K2GFXAAwYrkN+n65fB76Vr/kgQSBcGZGd7oNbdjcBlb0l3i8dSNf6oF36H8Lyp 956J5dJCNRr66H9kb/iJ4gtI+ETbHZ61tIt+kiQsFFajBQsKe6KTxk88J/yRipV5+6MC M5VoZUN507BCEvJLv85lcbv5TxLRPlY2hc9Dh39FE3S/moxs+sToI3Mf56XBw/zM09Gl 1SXjrgJoBZFbiG72BTLs7WBnUFT3XXZBAr9pvQoczWFf4O0E/JgR7uoUTFteyisukiGr v1Cp9iyMQW7k372vI6UXcxzcI89wuMmwUqDrsT6irO6wRSrv2qmNu+8K3YLgHsYCRn29 W8nQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u189-v6si3280503pgb.635.2018.08.02.15.26.52; Thu, 02 Aug 2018 15:27:07 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731639AbeHCATQ (ORCPT + 99 others); Thu, 2 Aug 2018 20:19:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:34610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726702AbeHCATQ (ORCPT ); Thu, 2 Aug 2018 20:19:16 -0400 Received: from localhost.localdomain (c-98-220-238-81.hsd1.il.comcast.net [98.220.238.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 97440215E4; Thu, 2 Aug 2018 22:26:04 +0000 (UTC) From: Tom Zanussi To: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org Cc: rostedt@goodmis.org, tglx@linutronix.de, C.Emde@osadl.org, jkacur@redhat.com, bigeasy@linutronix.de, daniel.wagner@siemens.com, julia@ni.com, Peter Zijlstra , stable-rt@vger.kernel.org, Tom Zanussi Subject: [PATCH 01/15] sched: Remove TASK_ALL Date: Thu, 2 Aug 2018 17:25:16 -0500 Message-Id: <1d817df77591ec6164ee3868cc1e3c0d2b2331d5.1533242791.git.tom.zanussi@linux.intel.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Zijlstra It's unused: $ git grep "\" | wc -l 1 And dangerous, kill the bugger. Cc: stable-rt@vger.kernel.org Acked-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Sebastian Andrzej Siewior (cherry picked from commit ffb940123ed607f1cba0d1f7c281ca92feac9733) Signed-off-by: Tom Zanussi Conflicts: include/linux/sched.h --- include/linux/sched.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index cc7349a2c0cf..fbe198d733c2 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -228,7 +228,6 @@ extern char ___assert_task_state[1 - 2*!!( /* Convenience macros for the sake of wake_up */ #define TASK_NORMAL (TASK_INTERRUPTIBLE | TASK_UNINTERRUPTIBLE) -#define TASK_ALL (TASK_NORMAL | __TASK_STOPPED | __TASK_TRACED) /* get_task_state() */ #define TASK_REPORT (TASK_RUNNING | TASK_INTERRUPTIBLE | \ -- 2.14.1