Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp949958ybm; Wed, 27 May 2020 11:59:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQBPURpiGjD+LwYXC/jThKKTnci78QvtqYqMlPzXjMqf52aTRib5xB/psa0aiUbuhkZ454 X-Received: by 2002:a17:906:fb0e:: with SMTP id lz14mr7107255ejb.237.1590605955953; Wed, 27 May 2020 11:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590605955; cv=none; d=google.com; s=arc-20160816; b=vmYSd329krNDi7MvGhgNqG9Pm91/HCrg5vfs731JgS0ocWYqCJVHn//wKdNASn2bZ7 jLskwuifzmiJlVCEjSXM/iN5dW2rebaOsLJVXfelVHz2pCcm9m9yxkVCHpsoyOc7oCYu dbCnnHwVPN9Inhd8RNDuf2D21+XewOgW89GtmW/SyJyh3mHB/LMxx/2Dgs0V+1MuDNfS pwoJPA9KFzK+ezLBALaQBekfDV9Y2CDBQ5cddcXwDCtE9jGNs7y1bkLk9QUGakg0vMHB VmNCI3WVg/hZu6G/AC0noiuBFJHUa5Wx1RCzmAfqj3fvp6/F+poYiPjs0Jf5awYgaZk3 zh2w== 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=dHsn5btuZ2TB/IbPPZTExE8gVJC/QQtoXDWndcuRWHo=; b=OEaZyIVca4+R0EVRBWsrZR312O49HtS2a4Z8nApyZM7Ojlnvf82mBVKzREH0j65gMZ YxJQycyMfcrE4uFpfaNVc/BgEEHiSP46Kx3ZNuMPbl0QPfjvUpcg/hOrRAIaIEbRNnWg paOGN30VZrv2bFU3PL6sR0q8UDkNIVEhqybRiM4Y6oMFSLgZ33hRnqdBesX6Byb/HpAh U6+i5nUHKI4FlZSen/E21k5qe0cnen1gGNVD9hfWU8lwu61lEQbz+c3kC1tObDhMELq1 Sc4qEkl+cvpMqxXsoBQ9V0oa+bLmsIssLlDLWJ5ZG/rpYNyG42zQxAEtCq+RzZcSKuXF BgiA== 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 p7si2501924ejr.611.2020.05.27.11.58.53; Wed, 27 May 2020 11:59:15 -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 S1729667AbgE0Pr4 (ORCPT + 98 others); Wed, 27 May 2020 11:47:56 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:44182 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728421AbgE0Pr4 (ORCPT ); Wed, 27 May 2020 11:47:56 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: tonyk) with ESMTPSA id C55962A3AAF 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: [PATCH 0/4] futex: Minor code improvements Date: Wed, 27 May 2020 12:47:43 -0300 Message-Id: <20200527154747.36931-1-andrealmeid@collabora.com> X-Mailer: git-send-email 2.26.2 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. 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 | 115 +++++++++++-------------------------------------- 1 file changed, 26 insertions(+), 89 deletions(-) -- 2.26.2