• Al Viro's avatar
    vgaarb: remove bogus checks · dfbf53ed
    Al Viro authored
    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: default avatarAl Viro <viro@zeniv.linux.org.uk>
    dfbf53ed
vgaarb.c 35.4 KB