From patchwork Tue Dec 21 17:00:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guo Ren X-Patchwork-Id: 12690133 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D8ABAC43219 for ; Tue, 21 Dec 2021 17:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240177AbhLURBj (ORCPT ); Tue, 21 Dec 2021 12:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240178AbhLURBg (ORCPT ); Tue, 21 Dec 2021 12:01:36 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AA8DC061574; Tue, 21 Dec 2021 09:01:36 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 94E2861689; Tue, 21 Dec 2021 17:01:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6A11C36AE9; Tue, 21 Dec 2021 17:01:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640106095; bh=UkaP0ipbtWQqs3GD7NQjrdRO2cbNiQOOmCN2E316SyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ru2RsyEbawlXaApkFj782iUERzy01onJjv5kLF1/iUSMqX0iyZcz9nq6waTBL3FAi XTcFy3Q49b/i03JGMNfN9H/NBOqpI/QJloEbPvOR2voTECnbqIXT15QJaiz54KzY3u jdXF2YyPqeq3feulRpKE67947HMSknOgTOvQGoTT4Mwkko6//K+EY6vhNNvv4kHmp6 DUrWao7nrs2PeVClH8wlUUNK3BKlCHZjmia5EgmQpCTS5Zb1mAY2CQEuCoajeFgOPv 7/AmXMRk4hA6pQu0KA9ILxiVbLwGAulZo0rrywlbMd9l9h8Sqfr+BIbOx7gfSs+QJj i7MQKa/LAAlLA== From: guoren@kernel.org To: guoren@kernel.org, will@kernel.org, tglx@linutronix.de, benh@kernel.crashing.org, arnd@arndb.de, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.or, linuxppc-dev@lists.ozlabs.org, inux-parisc@vger.kernel.org, linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, Guo Ren Subject: [PATCH 6/8] sched: parisc: Remove unused TASK_SIZE_OF Date: Wed, 22 Dec 2021 01:00:55 +0800 Message-Id: <20211221170057.2637763-7-guoren@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211221170057.2637763-1-guoren@kernel.org> References: <20211221170057.2637763-1-guoren@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren --- arch/parisc/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/parisc/include/asm/processor.h b/arch/parisc/include/asm/processor.h index b669f4b9040b..d9c8dc76ee6a 100644 --- a/arch/parisc/include/asm/processor.h +++ b/arch/parisc/include/asm/processor.h @@ -23,8 +23,7 @@ #define HAVE_ARCH_PICK_MMAP_LAYOUT -#define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size) -#define TASK_SIZE TASK_SIZE_OF(current) +#define TASK_SIZE (current->thread.task_size) #define TASK_UNMAPPED_BASE (current->thread.map_base) #define DEFAULT_TASK_SIZE32 (0xFFF00000UL)