[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180802023412.GA25338@bombadil.infradead.org>
Date: Wed, 1 Aug 2018 19:34:12 -0700
From: Matthew Wilcox <willy@...radead.org>
To: zhong jiang <zhongjiang@...wei.com>
Cc: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs/binfmt_elf: remove the same condition check
On Thu, Aug 02, 2018 at 10:00:28AM +0800, zhong jiang wrote:
> dump_align is used to double check in a expression. It is redundant.
> so just remove one of them.
You're wrong. Functions in C can have side-effects (and this one does).
Powered by blists - more mailing lists