diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-09-03 01:29:40 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 10:39:12 +0400 |
commit | 765d368217715c794f767d396d8cea16502d823f (patch) | |
tree | 2183b657331757be7ead8d8dc7c0176c00db10e8 /drivers | |
parent | 3cfb2face6205d30ecfc0145d68cd9e0c3dfe6f1 (diff) | |
download | linux-765d368217715c794f767d396d8cea16502d823f.tar.xz |
android: ->f_op is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-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 ee3a7380e53b..a402fdaf54ca 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) { |