aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-11-26 23:24:14 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-12-06 21:17:17 -0500
commitdfbf53ed548e838ab933d1a7072ffc38cba3bae8 (patch)
tree1dbe865d4acf7444b04a99376cb445a52d4a9c41 /fs/namei.c
parent03927c8acb63100046260711c06ba28b6b5936fb (diff)
downloadkernel_replicant_linux-dfbf53ed548e838ab933d1a7072ffc38cba3bae8.tar.gz
kernel_replicant_linux-dfbf53ed548e838ab933d1a7072ffc38cba3bae8.tar.bz2
kernel_replicant_linux-dfbf53ed548e838ab933d1a7072ffc38cba3bae8.zip
vgaarb: remove bogus checks
neither ->release() nor ->poll() can be called unless ->open() has succeeded on the same struct file, so checking for "has open() failed" is pointless. What's more, ->poll() doesn't return -E... - it always returns a bitmap of POLL... values, so the dead code in that one had been actively bogus. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions