From patchwork Fri Oct 18 09:58:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Thumshirn X-Patchwork-Id: 11198049 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 88402112B for ; Fri, 18 Oct 2019 09:58:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 71F84222C3 for ; Fri, 18 Oct 2019 09:58:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405530AbfJRJ6l (ORCPT ); Fri, 18 Oct 2019 05:58:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:40238 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388377AbfJRJ6l (ORCPT ); Fri, 18 Oct 2019 05:58:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 2E77BB579; Fri, 18 Oct 2019 09:58:40 +0000 (UTC) From: Johannes Thumshirn To: David Sterba Cc: Linux BTRFS Mailinglist , Johannes Thumshirn Subject: [PATCH 0/4] Small coding style cleanups Date: Fri, 18 Oct 2019 11:58:19 +0200 Message-Id: <20191018095823.15282-1-jthumshirn@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org Here are some minor coding style cleanups which I think are neat as they make some functions a bit easier to read. None of these patches is really needed though. The patches have no regressions with regrads to the basline btrfs-devel/misc-next on an xfstests -g auto run. A gitweb preview can be found at https://git.kernel.org/pub/scm/linux/kernel/git/jth/linux.git/log/?h=btrfs-raid-cleanups Note I did rebase the branch because one patch did not have a changelog. Johannes Thumshirn (4): btrfs: reduce indentation in lock_stripe_add btrfs: remove pointless local variable in lock_stripe_add() btrfs: reduce indentation in btrfs_may_alloc_data_chunk btrfs: remove pointless indentation in btrfs_read_sys_array() fs/btrfs/raid56.c | 95 ++++++++++++++++++++++----------------------- fs/btrfs/volumes.c | 112 +++++++++++++++++++++++++++-------------------------- 2 files changed, 103 insertions(+), 104 deletions(-) Reviewed-by: Nikolay Borisov