[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163543290989.1895911.203055160584231569.b4-ty@mit.edu>
Date: Thu, 28 Oct 2021 10:56:34 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Austin Kim <austindh.kim@...il.com>, adilger.kernel@...ger.ca
Cc: "Theodore Ts'o" <tytso@....edu>, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org, austin.kim@....com
Subject: Re: [PATCH] ext4: remove an unused variable warning with CONFIG_QUOTA=n
On Tue, 24 Aug 2021 04:49:29 +0100, Austin Kim wrote:
> The 'enable_quota' variable is only used in an CONFIG_QUOTA.
> With CONFIG_QUOTA=n, compiler causes a harmless warning:
>
> fs/ext4/super.c: In function ‘ext4_remount’:
> fs/ext4/super.c:5840:6: warning: variable ‘enable_quota’ set but not used
> [-Wunused-but-set-variable]
> int enable_quota = 0;
> ^~~~~
>
> [...]
Applied, thanks!
[1/1] ext4: remove an unused variable warning with CONFIG_QUOTA=n
commit: d94ca0e1d65f4c274e3425a35f23ffe58ecea18a
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists