diff options
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | 2017-11-15 17:33:56 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 18:21:03 -0800 |
commit | 007ab7b49acb93af650f3acec0e51d2c6b843934 (patch) | |
tree | 37ad9c167096d9e9be56dbd7484d6372e5ac1cca /fs/hpfs | |
parent | 0b07ff3972061a5e06e168378dd578801ae3e88e (diff) |
fs/hugetlbfs/inode.c: remove redundant -ENIVAL return from hugetlbfs_setattr()
There is no need to have a local return code set with -EINVAL when both
the conditions following it return error codes appropriately. Just
remove the redundant one.
Link: http://lkml.kernel.org/r/20170929145444.17611-1-khandual@linux.vnet.ibm.com
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hpfs')
0 files changed, 0 insertions, 0 deletions