Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0c12c1bfc432477e38ba76f680be4b3f55112a8e
Commit:     0c12c1bfc432477e38ba76f680be4b3f55112a8e
Parent:     d9bf2c037754f1493323829048d6210602712a43
Author:     Marco Schluessler <[EMAIL PROTECTED]>
AuthorDate: Sat Aug 25 11:36:39 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:06:58 2007 -0300

    V4L/DVB (6103): dvb_ca_en50221: return correct error code value
    
    return correct error code value
    
    Signed-off-by: Marco Schluessler <[EMAIL PROTECTED]>
    Signed-off-by: Oliver Endriss <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/dvb-core/dvb_ca_en50221.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/dvb/dvb-core/dvb_ca_en50221.c 
b/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
index b0bf219..3f74795 100644
--- a/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
+++ b/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
@@ -1569,7 +1569,7 @@ static int dvb_ca_en50221_io_release(struct inode *inode, 
struct file *file)
 {
        struct dvb_device *dvbdev = file->private_data;
        struct dvb_ca_private *ca = dvbdev->priv;
-       int err = 0;
+       int err;
 
        dprintk("%s\n", __FUNCTION__);
 
@@ -1581,7 +1581,7 @@ static int dvb_ca_en50221_io_release(struct inode *inode, 
struct file *file)
 
        module_put(ca->pub->owner);
 
-       return 0;
+       return err;
 }
 
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to