Commit 765d3682 authored by Al Viro's avatar Al Viro

android: ->f_op is never NULL

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 3cfb2fac
...@@ -125,7 +125,7 @@ long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) ...@@ -125,7 +125,7 @@ long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{ {
long ret; long ret;
if (!filp->f_op || !filp->f_op->unlocked_ioctl) if (!filp->f_op->unlocked_ioctl)
return -ENOTTY; return -ENOTTY;
switch (cmd) { switch (cmd) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment