diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-09-02 17:29:40 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 02:39:12 -0400 |
commit | 765d368217715c794f767d396d8cea16502d823f (patch) | |
tree | 2183b657331757be7ead8d8dc7c0176c00db10e8 /drivers/staging | |
parent | 3cfb2face6205d30ecfc0145d68cd9e0c3dfe6f1 (diff) | |
download | op-kernel-dev-765d368217715c794f767d396d8cea16502d823f.zip op-kernel-dev-765d368217715c794f767d396d8cea16502d823f.tar.gz |
android: ->f_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/android/ion/compat_ion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ion/compat_ion.c b/drivers/staging/android/ion/compat_ion.c index ee3a738..a402fda 100644 --- a/drivers/staging/android/ion/compat_ion.c +++ b/drivers/staging/android/ion/compat_ion.c @@ -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) { |