From patchwork Sun Jul 31 20:34:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salah Triki X-Patchwork-Id: 9253511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6B34F6048F for ; Sun, 31 Jul 2016 20:35:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 511B828481 for ; Sun, 31 Jul 2016 20:35:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2FB8128412; Sun, 31 Jul 2016 20:35:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C33F928412 for ; Sun, 31 Jul 2016 20:35:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751274AbcGaUes (ORCPT ); Sun, 31 Jul 2016 16:34:48 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33857 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751145AbcGaUer (ORCPT ); Sun, 31 Jul 2016 16:34:47 -0400 Received: by mail-wm0-f67.google.com with SMTP id q128so23588753wma.1; Sun, 31 Jul 2016 13:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=/noY5GGmXW/lGwfopbXdqJOOFBXPxx78FAM05TfwW14=; b=ZUGKYP92+ZyNXgUBhq4hwvJCgd7BGYfYDaUZbMsIlMygjcq6h5bcbxKN1SGdQHlGNh lB334wFZrj02LjMm4CfZMk8aOcXUT0Q2WMCjus8lgCUC7t42f3vIpeQ0CdFHc6TSp2Kr Mmg7/uSgjmHQ3muPEESRGGrmWgm+X0e1Ga1A0qXvUtOEO9IuFd/3yyMKvOq5A/yuX2/u uEEF1ex24LPzfRN+7JF1uu0Bv3phxI7Z+yhBNmoR7yKHClFbrYRHZ5MyIAVhpNHZDkZb KyRUz9XJcN8ptHJglRoUh8Uw9sMlrnWekM6hczrnmX9umBO+vFoViNL2eSzLd9Nfqf21 LPTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/noY5GGmXW/lGwfopbXdqJOOFBXPxx78FAM05TfwW14=; b=YXxL/gHUPQUDW76+Kt4pabMQ5rBkG9/HYqFX7SYubE2Fkp/80jdhTgMxOvgQu9F+zS XP9AmLnbw9FFNwr9CZajtrtJA9+pk/SnPu0C2JMXGcgM0Ln8fbIE5pyxbTHY6qwVOZBw 7hzD3tmg8Kfm0gbEDhhpwfN+wiJ8UEEJ5ancvOYqu//9CEoDRSygQcOwpMcFkKik40QX +pUKVPdRzcx+4WEZ7PGNYSVZvL+OQMhFQissL3sISe9HByN4ZgeTimtPVEzq81HtYIta 5FF2n7TNQm8UAcK40K74Qw0Jd2CIGw09rxXLGmykqaMeqv0shTayyuyhzryVxJXYl+MJ +0IQ== X-Gm-Message-State: AEkoouu9DDL6Qvc3VqkoFI7sM/Ka24mskF08L70LIrTTjao5XL2sBvTuK/cX5LBH+I2X+A== X-Received: by 10.28.236.24 with SMTP id k24mr39240629wmh.47.1469997285823; Sun, 31 Jul 2016 13:34:45 -0700 (PDT) Received: from localhost.localdomain ([160.156.220.249]) by smtp.gmail.com with ESMTPSA id v203sm13608936wmv.2.2016.07.31.13.34.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Jul 2016 13:34:44 -0700 (PDT) From: Salah Triki To: akpm@linux-foundation.org, viro@zeniv.linux.org.uk, luisbg@osg.samsung.com Cc: Salah Triki , mhocko@suse.com, vdavydov@virtuozzo.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] fs: befs: remove unneeded initialization to zero Date: Sun, 31 Jul 2016 21:34:26 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP off is reinitialized by befs_read_datastream, so no need to init it with zero in the beginning of befs_bt_read_node. Signed-off-by: Salah Triki --- fs/befs/btree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/befs/btree.c b/fs/befs/btree.c index e59ad20..a0e8cfa 100644 --- a/fs/befs/btree.c +++ b/fs/befs/btree.c @@ -196,7 +196,7 @@ static int befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds, struct befs_btree_node *node, befs_off_t node_off) { - uint off = 0; + uint off; befs_debug(sb, "---> %s", __func__);