summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2007-09-06 14:50:31 -0400
committerSteven Toth <stoth@hauppauge.com>2007-09-06 14:50:31 -0400
commit4cb6954cc185565789a9aed7975a62ca6cda5ab2 (patch)
tree310516e990afb22da244c32a27b65b286f3083f8 /linux
parentc07d28cae856c91c33afe4e21c92335302cccdf7 (diff)
downloadmediapointer-dvb-s2-4cb6954cc185565789a9aed7975a62ca6cda5ab2.tar.gz
mediapointer-dvb-s2-4cb6954cc185565789a9aed7975a62ca6cda5ab2.tar.bz2
Removed a redundant switch()
From: Steven Toth <stoth@hauppauge.com> The switch() statement is no longer required. Signed-off-by: Steven Toth <stoth@hauppauge.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-core.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-core.c b/linux/drivers/media/video/cx23885/cx23885-core.c
index c32d836b6..7dd6dfd01 100644
--- a/linux/drivers/media/video/cx23885/cx23885-core.c
+++ b/linux/drivers/media/video/cx23885/cx23885-core.c
@@ -1026,18 +1026,7 @@ static int cx23885_start_dma(struct cx23885_tsport *port,
cx_write(port->reg_hw_sop_ctrl, 0x47 << 16 | 188 << 4);
cx_write(port->reg_ts_clk_en, port->ts_clk_en_val);
-
- switch (dev->board) {
- case CX23885_BOARD_HAUPPAUGE_HVR1250:
- case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
- case CX23885_BOARD_HAUPPAUGE_HVR1800:
- cx_write(port->reg_vld_misc, 0x00);
- dprintk(1, "%s() Configuring HVR1800/lp/1500 board\n",
- __FUNCTION__);
- break;
- default:
- printk(KERN_ERR "%s() error, default case", __FUNCTION__ );
- }
+ cx_write(port->reg_vld_misc, 0x00);
cx_write(port->reg_gen_ctrl, port->gen_ctrl_val);
udelay(100);