Skip to content
Commit 613aee94 authored by Al Viro's avatar Al Viro
Browse files

get_file_rcu(): no need to check for NULL separately



IS_ERR(NULL) is false and IS_ERR() already comes with unlikely()...

Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c4aab262
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment