mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
android: ->f_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
3cfb2face6
commit
765d368217
|
|
@ -125,7 +125,7 @@ long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
|
|||
{
|
||||
long ret;
|
||||
|
||||
if (!filp->f_op || !filp->f_op->unlocked_ioctl)
|
||||
if (!filp->f_op->unlocked_ioctl)
|
||||
return -ENOTTY;
|
||||
|
||||
switch (cmd) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user