diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-12 16:48:26 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-12 16:48:26 +0200 |
commit | 5207c61e188f798fc4ab68d3281596958aa23fcc (patch) | |
tree | 5aaa2803b0d739422e27e23378c9877d30f33cf4 /linux/drivers/media/video/cx18/cx18-driver.c | |
parent | 8a93f875f1df51b42492ef17f046c66d8e17c396 (diff) | |
download | mediapointer-dvb-s2-5207c61e188f798fc4ab68d3281596958aa23fcc.tar.gz mediapointer-dvb-s2-5207c61e188f798fc4ab68d3281596958aa23fcc.tar.bz2 |
cx18: removed bogus and confusing conditional
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-driver.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c index 4aafeaa9b..008745af2 100644 --- a/linux/drivers/media/video/cx18/cx18-driver.c +++ b/linux/drivers/media/video/cx18/cx18-driver.c @@ -904,8 +904,7 @@ static void cx18_remove(struct pci_dev *pci_dev) free_irq(cx->dev->irq, (void *)cx); - if (cx->dev) - cx18_iounmap(cx); + cx18_iounmap(cx); release_mem_region(cx->base_addr, CX18_MEM_SIZE); |