Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp300449pxx; Thu, 29 Oct 2020 03:02:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzA+Obf2/c/kQnf/Xs2Zv5iuly2PvZvr1wvxZu/hN+pvq1zcvWS59vhWdXPRPTM2eQuNR/y X-Received: by 2002:a17:906:6a94:: with SMTP id p20mr3054055ejr.499.1603965723131; Thu, 29 Oct 2020 03:02:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603965723; cv=none; d=google.com; s=arc-20160816; b=TWE1oQ+rAE87mgLXLXgYKFQ7OW46PXIMlQ3y0aqGRaS104P2iXdl5SDG0eFZUguh7x 3kCByqQ97ve1FP4ZTPOXVGb9XfOEf+oUUh7OS/Gc0ly2dQmeRJNTXPp1FA8g6ukMDFwd Q92/XoBOl60cccjLkmXUBTt1NpEkvvyykb4k9U+2KzBMFk36mR/k2QIr57EPu/7Tij7t BrTaS/lLSlcZ7cBuLo3DiS3MiIRkrCeUwlyFhVJ2+aZn9HdeFVyO3mH6ExHiA+/GGlbw drjREiWHeGuV+rsBKJW1Lk/9wS/FgnhulfOH+YiaQwFl79l6tDpkC59820gFAK33HnuM 3HIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sLx58vhNmLq+EFy2FlcUubbzsOTaAnkslh9sh0qutO4=; b=vVHGJ2oU99DSK9hvLNKIkm48CTEp1rUekqjhYhIsAe/tu2eVpgMd/L7tVOUu3DOI4s k+HFwnfvkO/2McKZ8FBys+PhojDNcIUIkvYJ8XYjsCVYWM2xe9XRJcUKpeJNOBXn4cJ/ lW1hMQetE86otAynmo6/BDRzkBZmuHy88MGmS5WlaXpq0WiwKuv+90SeGNsrZn0+QXsl lS42wFMDpBrx/+B8qgVb/5afZ/aRp2lCo1Ypxbbw0jqyIZ1efrao+VU2Qv85Vw+Ki4ul xilx0oYccqsJeCb0ZLNdxEthMVtGBNY1ZVUInD3Asw6UBtz/MTzJljdEvbbLWmvTxoNb Rmxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+MTF58z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k24si1654033edv.435.2020.10.29.03.01.41; Thu, 29 Oct 2020 03:02:03 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=A+MTF58z; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389242AbgJ1Xsa (ORCPT + 99 others); Wed, 28 Oct 2020 19:48:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387852AbgJ1WrO (ORCPT ); Wed, 28 Oct 2020 18:47:14 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6966FC0613CF for ; Wed, 28 Oct 2020 15:47:14 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id x7so1151503ili.5 for ; Wed, 28 Oct 2020 15:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sLx58vhNmLq+EFy2FlcUubbzsOTaAnkslh9sh0qutO4=; b=A+MTF58zSFVG6nT6ySbF31/8fNhQjzNKhi3JTlIlunbnEgTBLIYnJit0Yu1Oyy+lce okVbg0pCeCBaswyyx3oUu6FTGDFOTx5QjqLhM/w+hA6ASCiNrkugQ7hJPm/MVcP9/7PG j25ouO93ryR/qvcOKt6/tCk6tcvTBHhU4CsoN2551cVk786wdITjt6anRMPUpuBMXeaK AqwOMFT/yqOzGKXz0B6UKL+QQobQPd4eEQojFxMuM3o6VM1CNnSULrVWrb1SGrYppUeZ B2TEKhS/mTXGCRR6RL6IOZ4imw0cotwEZRpUDydZ5dyLFts6DXxUgUC1slMAzjYEU8Bj W92Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sLx58vhNmLq+EFy2FlcUubbzsOTaAnkslh9sh0qutO4=; b=oI/E1jAUG8XsGvGTkRG1OVuOda5CG+AJ4v9GvSx/RESEyRrY4apQ0hWB5G21A/yo29 GSlH5qTDeZ6ABOPpi9UUzSvEZKZvMVbrMMILjPeS5wuGWxKHeJeLiI+mYK22OEICxbAJ FFl358a6S8qtULToj+UEMpn8X1Gxj/+7MPZ0tdUAPF6dfAp2t9Zt7NmNySQXjS51m+kk wvSJkn+2V5Oljh3IIvGo8yy/an3CxfdaVAUQB6phQ6TuL/ih/F9/fdoF92P7+Ie+egle DW/H3oEUIkGF1W99MVJSVQFul8NrzeMcRtelrQRvyKaAkRu3G/9S8Xfyh+HWcUmVH90s AhOA== X-Gm-Message-State: AOAM5315KBIIsIHmHOlWeXCEByMfiuOgaqow4y00ruGrOElTUWkZDrnq EN57x5zPV0n05fRfba/og4OvE2gP3IJ+/6D5 X-Received: by 2002:a63:ab45:: with SMTP id k5mr6138549pgp.240.1603887651169; Wed, 28 Oct 2020 05:20:51 -0700 (PDT) Received: from Monkey.fios-router.home ([47.144.162.13]) by smtp.gmail.com with ESMTPSA id a143sm6329137pfd.138.2020.10.28.05.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Oct 2020 05:20:50 -0700 (PDT) From: "John B. Wyatt IV" To: "' Joel Fernandes (Google)" , Nishanth Aravamudan , Julien Desfossez , Peter Zijlstra , Tim Chen , Vineeth Pillai , Aaron Lu , Aubrey Li , tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, torvalds@linux-foundation.org, fweisbec@gmail.com, keescook@chromium.org, kerrnel@google.com, Phil Auld , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini , vineeth@bitbyteword.org, Chen Yu , Christian Brauner , Agata Gruza , Antonio Gomez Iglesias , graf@amazon.com, konrad.wilk@oracle.com, dfaggioli@suse.com, pjt@google.com, rostedt@goodmis.org, derkling@google.com, benbjiang@tencent.com, Alexandre Chartre , James.Bottomley@hansenpartnership.com, OWeisse@umich.edu, Dhaval Giani , Junaid Shahid , jsbarnes@google.com, chris.hyser@oracle.com, Aubrey Li , "Paul E. McKenney" , Tim Chen ' Cc: "John B. Wyatt IV" Subject: [PATCH 6/8] sched: Remove unneeded braces Date: Wed, 28 Oct 2020 05:19:15 -0700 Message-Id: <20201028121917.635203-7-jbwyatt4@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201028121917.635203-1-jbwyatt4@gmail.com> References: <20201028121917.635203-1-jbwyatt4@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unneeded braces and the spaces for the bottom brace to silence checkpatch warnings. Issue reported by checkpatch. Signed-off-by: John B. Wyatt IV --- kernel/sched/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 61758b5478d8..7bf20110fdf5 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3588,9 +3588,9 @@ int sched_fork(unsigned long clone_flags, struct task_struct *p) if (current->core_task_cookie) { /* If it is not CLONE_THREAD fork, assign a unique per-task tag. */ - if (!(clone_flags & CLONE_THREAD)) { + if (!(clone_flags & CLONE_THREAD)) return sched_core_share_tasks(p, p); - } + /* Otherwise share the parent's per-task tag. */ return sched_core_share_tasks(p, current); } -- 2.28.0