mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 01:04:08 +08:00
remove useless tolower in isofs
Remove useless tolower in isofs Signed-off-by: dave young <hidave.darkstar@gmail.com> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
03a9c30c23
commit
f17e121fd0
@ -197,7 +197,7 @@ isofs_hashi_common(struct dentry *dentry, struct qstr *qstr, int ms)
|
|||||||
hash = init_name_hash();
|
hash = init_name_hash();
|
||||||
while (len--) {
|
while (len--) {
|
||||||
c = tolower(*name++);
|
c = tolower(*name++);
|
||||||
hash = partial_name_hash(tolower(c), hash);
|
hash = partial_name_hash(c, hash);
|
||||||
}
|
}
|
||||||
qstr->hash = end_name_hash(hash);
|
qstr->hash = end_name_hash(hash);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user