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://firstname.lastname@example.orgSigned-off-by: Anshuman Khandual <email@example.com>
Reviewed-by: Mike Kravetz <firstname.lastname@example.org>
Signed-off-by: Andrew Morton <email@example.com>
Signed-off-by: Linus Torvalds <firstname.lastname@example.org>