Commit:     813ce47cee33964ff710d2c91063548773cb4cd5
Parent:     89f4267d6fa96cb3db053d5183558c94ad5f46e5
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 1 10:13:36 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:04:22 2007 -0300

    V4L/DVB (5965): Frontend_ioctl(): fix check-after-use
    The Coverity checker spotted that we have already oops'ed if "fe" was NULL.
    Since "fe" being NULL seems impossible at this point this patch removes
    the NULL check.
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Acked-by: Manu Abraham <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
 drivers/media/dvb/dvb-core/dvb_frontend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c 
index afe797b..fd9bac5 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -748,7 +748,7 @@ static int dvb_frontend_ioctl(struct inode *inode, struct 
file *file,
        dprintk ("%s\n", __FUNCTION__);
-       if (!fe || fepriv->exit)
+       if (fepriv->exit)
                return -ENODEV;
        if ((file->f_flags & O_ACCMODE) == O_RDONLY &&
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to