summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-08-25 16:36:39 +0200
committerOliver Endriss <o.endriss@gmx.de>2007-08-25 16:36:39 +0200
commitbaac871567e367295adce69440965ca1279ce647 (patch)
tree8d7d0fbdf6f3683017a6c0dfb19b558ee24f0e8d
parentf7d0a5848cb40da774558ed8eb5677fd380fc727 (diff)
downloadmediapointer-dvb-s2-baac871567e367295adce69440965ca1279ce647.tar.gz
mediapointer-dvb-s2-baac871567e367295adce69440965ca1279ce647.tar.bz2
dvb_ca_en50221: return correct error code value
From: Marco Schluessler <marco@lordzodiac.de> return correct error code value Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
index b8257d52a..e66a82289 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
@@ -1570,7 +1570,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__);
@@ -1582,7 +1582,7 @@ static int dvb_ca_en50221_io_release(struct inode *inode, struct file *file)
module_put(ca->pub->owner);
- return 0;
+ return err;
}