提交 765d3682 编写于 作者: A Al Viro

android: ->f_op is never NULL

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 3cfb2fac
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册