Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1770724ybt; Thu, 2 Jul 2020 13:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiK0c8DHJ3kfU2HhgTwPCBzauMNlbdi4oe1OQzvHC3uol0les2X+KRt/uQWYvJpN3fmmuF X-Received: by 2002:a50:cd1a:: with SMTP id z26mr38068232edi.120.1593721745181; Thu, 02 Jul 2020 13:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593721745; cv=none; d=google.com; s=arc-20160816; b=sHiyMWgRap6ugWoM0ZX5bG5PslWv+AwVJl8NhkcCT2dxZjFErB91ob8fjYB8PWbLgs bUhxgHhxx4nL7nuOoLObllo049vnA6NRhygjti/R6n1aCABupsUlO4qHSAM3jf6qtuSj PqxdR0AJKCZwlST2IHfamAPnnTI/978RHcgTPT3i0ROe5Ig6Xx7WdGRzhG39A4AqV7TT ukDxAWko4r79ToqfoDcqnO+jaGDvxbcCQkJtOnFZ19nxkue98c1i5dtbh6pjpn/tb4PR TQLMbmD5vWpnbs0PS0p+xiN+70vIm8s3l/8fnDpv0ADmRHpWUlzlMPKunjkFAegC35QY SMsg== 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 :message-id:date:subject:cc:to:from; bh=ejHTOVFkcU30Trunsp5qhyW7t+luMfnXOiQX31KP9z8=; b=WHgHbvDS+LdtiJN9aF5Pe4vDusGpiJlsIjTXgWLSwA/3Y7vy9ggmU9mZO9lOg0vO3W tI379HU7NsNxEFuFqWoYwfGfMqHyDGmzE0S3NNa1VHi8ti9JNk6hKnieweeTxwxZEkGx NGqIlmahUR4sx8eZfm9X9ONQStUSE61Mnzw4hhMk57wm3O8C2M0XApVaciluZM4GruE4 85ILiZulmmHkg6+4AhPVbKEVv+4REhsG/zHMvre7FO8phHneJK00qfpdEbl+vUVtnsaR hrtpp0iXU95U52BNHLSxv9ruRSLOI9/6lg3PCvuU5Vo+o9MON+eLeFemzIlW1bfp5Hd9 5SFw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o1si6420675edq.365.2020.07.02.13.28.41; Thu, 02 Jul 2020 13:29:05 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726010AbgGBU2f (ORCPT + 99 others); Thu, 2 Jul 2020 16:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgGBU2f (ORCPT ); Thu, 2 Jul 2020 16:28:35 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8769BC08C5C1 for ; Thu, 2 Jul 2020 13:28:35 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tonyk) with ESMTPSA id C0DF02A60FC From: =?UTF-8?q?Andr=C3=A9=20Almeida?= To: linux-kernel@vger.kernel.org, tglx@linutronix.de, peterz@infradead.org Cc: mingo@redhat.com, dvhart@infradead.org, kernel@collabora.com, krisman@collabora.com, =?UTF-8?q?Andr=C3=A9=20Almeida?= Subject: [RESEND PATCH 0/4] futex: Minor code improvements Date: Thu, 2 Jul 2020 17:28:39 -0300 Message-Id: <20200702202843.520764-1-andrealmeid@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This series aims to make some small code improvements that I found in futex.c, removing some lines and trying to make the code easier to read and understand. All commits tested with futex tests from kselftest. Thanks, André André Almeida (4): futex: Remove put_futex_key() futex: Remove needless goto's futex: Remove unused or redundant includes futex: Consistently use fshared as boolean kernel/futex.c | 114 +++++++++++-------------------------------------- 1 file changed, 26 insertions(+), 88 deletions(-) -- 2.27.0