Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

android: ->f_op is never NULL



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 3cfb2fac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {