mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
While touching this code I noticed the error handling is bogus, so I fixed it up. I've removed the IS_ERR(proc_dentry) check, which will never trigger and is clearly a typo: we must check proc_file instead. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>