Skip to content

Commit

Permalink
V4L/DVB (6103): dvb_ca_en50221: return correct error code value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marco Schluessler authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent d9bf2c0 commit 0c12c1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/dvb-core/dvb_ca_en50221.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__);

Expand All @@ -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;
}


Expand Down

0 comments on commit 0c12c1b

Please sign in to comment.