lirc: get rid of bogus checks
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Jan 2013 00:00:58 +0000 (19:00 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:04 +0000 (02:46 -0500)
commit0990a97a1fc649bf9a7e6057c326a835d1520847
treebec29512e921714064dd81bb187bf5d94e09b181
parent0df4d6e5bd008a94f1527aa751bbcf7160257c1d
lirc: get rid of bogus checks

file argument is a struct file being passed to ->open() or
already opened; none of the checks in lirc_get_pdata()
can fail.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/media/rc/lirc_dev.c