Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp370541pxa; Wed, 19 Aug 2020 03:50:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyn4j0LJx9ymIMM7YGIApV0XhBNoKK8rGCHAIGh2qRT+Lj38bh9GsU8C9QdqQPOlwesFEZV X-Received: by 2002:a17:906:824d:: with SMTP id f13mr25506922ejx.190.1597834239736; Wed, 19 Aug 2020 03:50:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597834239; cv=none; d=google.com; s=arc-20160816; b=muwgient4auD18LUoJ2J4PAh2PSFH0rGh7QTW4Sy8nYVJ9kCK9WA0KDvKK7X538ndK dJaXZRARd+NwW/UpKhixtXzSDSQyfPQHu8Q5twh+pq/OS+/bY44ewfdYqLHa4UD3aCD7 GGNvodHqdBxHdnMtyOnMcZknSoH+vYr7t2jGl/x28ackcXbNkTUGsXnA4vKS49a5Nljw fftJb2R2T3xX0o0UmqTXssQis3t8w5CNP6CupcXdNTLD7/dTq4By0FkwXh981KT3KqR/ eOfVbM19t3lC0Yd04TFm3t9P7xQVAwWnYjOVYclDTYo2LnPvlyqT2yREEtEpT+UcUWhQ /orQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=7iyPbs8r1ufPrxIGopq36f3QiblZRBECUjXttdG8VNc=; b=L7LfPasbiOAtg3T/vM5e+gjoFgk8oIqm45Qq9KyQjHtcZxvMHkuOa3L1t22o+kNBMr H4N+pzVbXktzhOeflbzvO/cS41bPsvpZXb1LwLOibJHYIOdAilb5y7C9ohnLcD9l2DhX xP1qv78SW6p4tOnG0TV4efoH0iuDfN6LEjizTaRrP97BIIjk5T4OE8OcRG6j0uROJ7gM t+GiS6YkUGh3ZC8D38ZO9/1Fh1jWggHQF2Z/ydXNRac847uf6AtjnMxNjTZ2AusNpECP tychbE/nBCFStreU1pv6djGR2NdN7aCpK5hy+37AaEHDQDrIwx8cLr2Se+it60Ih56mI aFUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si15115449ejd.405.2020.08.19.03.50.16; Wed, 19 Aug 2020 03:50:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728101AbgHSKs7 (ORCPT + 99 others); Wed, 19 Aug 2020 06:48:59 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:54028 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727909AbgHSKrl (ORCPT ); Wed, 19 Aug 2020 06:47:41 -0400 Received: from ip5f5af70b.dynamic.kabel-deutschland.de ([95.90.247.11] helo=wittgenstein.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1k8Ld4-0006IE-OF; Wed, 19 Aug 2020 10:47:38 +0000 From: Christian Brauner To: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Corbet , Yoshinori Sato , Tony Luck , Fenghua Yu , Geert Uytterhoeven , Ley Foon Tan , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, Arnd Bergmann , Steven Rostedt , Stafford Horne , Peter Zijlstra , Kars de Jong , Kees Cook , Greentime Hu , "Eric W. Biederman" , Mauro Carvalho Chehab , Alexandre Chartre , Masami Hiramatsu , Tom Zanussi , Xiao Yang , linux-doc@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, linux-ia64@vger.kernel.org, linux-m68k@lists.linux-m68k.org, sparclinux@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, linux-kselftest@vger.kernel.org, Linus Torvalds , Christoph Hewllig , Matthew Wilcox , Christian Brauner Subject: [PATCH v2 11/11] sched: remove _do_fork() Date: Wed, 19 Aug 2020 12:46:55 +0200 Message-Id: <20200819104655.436656-12-christian.brauner@ubuntu.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200819104655.436656-1-christian.brauner@ubuntu.com> References: <20200819104655.436656-1-christian.brauner@ubuntu.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that all callers of _do_fork() have been switched to kernel_clone() remove the _do_fork() helper. Signed-off-by: Christian Brauner --- /* v2 */ unchanged --- include/linux/sched/task.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/sched/task.h b/include/linux/sched/task.h index d4428039c3c1..85fb2f34c59b 100644 --- a/include/linux/sched/task.h +++ b/include/linux/sched/task.h @@ -84,10 +84,6 @@ extern void exit_files(struct task_struct *); extern void exit_itimers(struct signal_struct *); extern pid_t kernel_clone(struct kernel_clone_args *kargs); -static inline long _do_fork(struct kernel_clone_args *kargs) -{ - return kernel_clone(kargs); -} struct task_struct *fork_idle(int); struct mm_struct *copy_init_mm(void); extern pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); -- 2.28.0