diff options
author | Marco Schluessler <marco@lordzodiac.de> | 2007-08-25 10:36:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:06:58 -0400 |
commit | 0c12c1bfc432477e38ba76f680be4b3f55112a8e (patch) | |
tree | fc390799879987c7f70210353b04c2eab9b40b0e | |
parent | d9bf2c037754f1493323829048d6210602712a43 (diff) |
V4L/DVB (6103): dvb_ca_en50221: return correct error code value
return correct error code value
Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | 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 b0bf21958ede..3f7479557919 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) | |||
1569 | { | 1569 | { |
1570 | struct dvb_device *dvbdev = file->private_data; | 1570 | struct dvb_device *dvbdev = file->private_data; |
1571 | struct dvb_ca_private *ca = dvbdev->priv; | 1571 | struct dvb_ca_private *ca = dvbdev->priv; |
1572 | int err = 0; | 1572 | int err; |
1573 | 1573 | ||
1574 | dprintk("%s\n", __FUNCTION__); | 1574 | dprintk("%s\n", __FUNCTION__); |
1575 | 1575 | ||
@@ -1581,7 +1581,7 @@ static int dvb_ca_en50221_io_release(struct inode *inode, struct file *file) | |||
1581 | 1581 | ||
1582 | module_put(ca->pub->owner); | 1582 | module_put(ca->pub->owner); |
1583 | 1583 | ||
1584 | return 0; | 1584 | return err; |
1585 | } | 1585 | } |
1586 | 1586 | ||
1587 | 1587 | ||