Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 918dc9d0 authored by Damien Guibouret's avatar Damien Guibouret Committed by Theodore Ts'o
Browse files

ext4: remove useless test and assignment in strtohash functions



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: default avatarDamien Guibouret <damien.guibouret@partition-saving.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent a6d05676
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment