Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hpfs: remove unnecessary checks on the value of r when assigning erro…
…r code At the point where r is being checked for different values, r is always going to be equal to 2 as the previous if statements jump to end or end1 if r is not 2. Hence the assignment to err can be simplified to just err an assignment without any checks on the value or r. Detected by CoverityScan, CID#1226737 ("Logically dead code") Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Mikulas Patocka <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information