Re: ext4/hash.c: remove useless test and assignment in strtohash
From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-08-24 19:13:09
From: Theodore Ts'o <tytso@mit.edu>
Date: 2017-08-24 19:13:09
On Thu, Jul 27, 2017 at 10:53:27PM +0200, Damien Guibouret wrote:
On transformation of str to hash, computed value is initialised before first byte modulo 4. But it is already initialised before entering loop and after processing last byte modulo 4. So the corresponding test and initialisation could be removed. Signed-off-by: Damien Guibouret <redacted>
Thanks, applied. - Ted