Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp231993ybb; Tue, 14 Apr 2020 23:50:43 -0700 (PDT) X-Google-Smtp-Source: APiQypLyLQ13wG7i1AXz0Del/cd5mdKTiwP/C5zZimarc7WEfsNhwDe1uULBlxhplG0v7d7jj9Rz X-Received: by 2002:aa7:d399:: with SMTP id x25mr24294313edq.163.1586933443801; Tue, 14 Apr 2020 23:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586933443; cv=none; d=google.com; s=arc-20160816; b=w5aR3RN4/MtXQDhej7FtnHqePrpQ9bvXo+TcfVKkRUdQGzNStutEO8EHM2KzfhQXo1 jnmMb8+fzGQXwvmhPXf0FpYX4VJeQZMiUDDynfYft/eFJ/PVUDZCo9gomSZqIqpAQ58U J8nqUfocc9KxE7z4k1pSIOkm6+uAVPCk5cuLfMTebiKLP2pJHnG8b+vWTi0L57h0fEV0 LK+V8d6rqadmib5OieUvPpnoeW7PqevttvxQYBrZI5z1RRAM0Kz8SUDCsSWm0kaApeON uFgofKQrpGSuuOqApBkBmpBkxwZHNN382kafqIRUu77YtX7I2ln31OfLYQe5sLY5Rdav Ts/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=qBWv/Yh/QEAxR3vzQcGoA81fI96PtgF52RQYL/h+od8=; b=DPYDsnW8Gpyf4S6+vns8LL23tqArxJzWRiNUlelGftzBv13un5ob9TjArEnl4Xaggi y+GzUJUT67u18mZhLKQaIRmTNWInhEyy6xhEcHsIcT6ZdgUWeC/8y9JQpmPeAaIvE1sK 50btXYDRYt3gwrz5cb1O/dM5MT4shF6G4QhmIyM3ynQ+RtWXlQRcQIFZ5YZVMeRp2n01 aglPMC4EiJYQGA0OUx/9qjyaViD1A6E5jGQuFnBYyo0KuhHKWpfmmFxMW6rQ0U6xI0QV 4vo3S+wyqDefH8PogZBErl985KocsdW9qE2HddoyW+juXrHiUWXMabeEesbwmXjjarEt nPBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si10555025edx.82.2020.04.14.23.50.20; Tue, 14 Apr 2020 23:50:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403887AbgDNB4c (ORCPT + 99 others); Mon, 13 Apr 2020 21:56:32 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:42026 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727867AbgDNB40 (ORCPT ); Mon, 13 Apr 2020 21:56:26 -0400 Received: from callcc.thunk.org (pool-72-93-95-157.bstnma.fios.verizon.net [72.93.95.157]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 03E1uGjY031358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Apr 2020 21:56:16 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 1C2CF42013D; Mon, 13 Apr 2020 21:56:16 -0400 (EDT) Date: Mon, 13 Apr 2020 21:56:16 -0400 From: "Theodore Y. Ts'o" To: Jason Yan Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] ext4: remove set but not used variable 'es' in ext4_jbd2.c Message-ID: <20200414015616.GC90651@mit.edu> References: <20200402034759.29957-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200402034759.29957-1-yanaijie@huawei.com> Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Apr 02, 2020 at 11:47:59AM +0800, Jason Yan wrote: > Fix the following gcc warning: > > fs/ext4/ext4_jbd2.c:341:30: warning: variable 'es' set but not used [-Wunused-but-set-variable] > struct ext4_super_block *es; > ^~ > > Fixes: 2ea2fc775321 ("ext4: save all error info in save_error_info() and drop ext4_set_errno()") > Reported-by: Hulk Robot > Signed-off-by: Jason Yan Applied, thanks. - Ted