[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120213232104.GH21641@thunk.org>
Date: Mon, 13 Feb 2012 18:21:04 -0500
From: Ted Ts'o <tytso@....edu>
To: Zheng Liu <gnehzuil.liu@...il.com>
Cc: linux-ext4@...r.kernel.org, Zheng Liu <wenqing.lz@...bao.com>
Subject: Re: [PATCH 2/3] ext4: remove unnecessary assignments in xattr.c
On Mon, Nov 07, 2011 at 09:32:03PM +0800, Zheng Liu wrote:
> From: Zheng Liu <wenqing.lz@...bao.com>
>
> In some functions, 'error' variable is assigned but not used when the result
> of if statement is false.
>
> Signed-off-by: Zheng Liu <wenqing.lz@...bao.com>
I really wouldn't worry about this. It increases the size of both the
source and the binary, and if there are architectures where registers
are especially precious, it's easy enough for the compiler to optimize
appropriately.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists