summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_hif.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-15 06:17:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:43 -0200
commit0bdc799b8b82cf61c86604291c53998febc96403 (patch)
tree5747b7092c5366cc557445a68ae7c7fcf788234a /drivers/media/dvb/mantis/mantis_hif.c
parent5dd83a35bea908ebb8243d67d8c251eed2bb5cc8 (diff)
downloadblackbird-op-linux-0bdc799b8b82cf61c86604291c53998febc96403.tar.gz
blackbird-op-linux-0bdc799b8b82cf61c86604291c53998febc96403.zip
V4L/DVB (13802): [Mantis/Hopper] Fix all build related warnings
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_hif.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_hif.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/media/dvb/mantis/mantis_hif.c b/drivers/media/dvb/mantis/mantis_hif.c
index bb05427fdeb6..73e5ca0c6c14 100644
--- a/drivers/media/dvb/mantis/mantis_hif.c
+++ b/drivers/media/dvb/mantis/mantis_hif.c
@@ -22,7 +22,6 @@
#include <linux/signal.h>
#include <linux/sched.h>
-#include <asm/irq.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
@@ -40,22 +39,6 @@
#include "mantis_reg.h"
-static int mantis_hif_data_available(struct mantis_ca *ca)
-{
- struct mantis_pci *mantis = ca->ca_priv;
- int rc = 0;
-
- if (wait_event_interruptible_timeout(ca->hif_data_wq,
- ca->sbuf_status & MANTIS_SBUF_DATA_AVAIL,
- msecs_to_jiffies(500)) == -ERESTARTSYS) {
-
- dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): HIF Read wait event timeout !", mantis->num);
- rc = -EREMOTEIO;
- }
- ca->sbuf_status &= ~MANTIS_SBUF_DATA_AVAIL;
- udelay(2);
- return rc;
-}
static int mantis_hif_sbuf_opdone_wait(struct mantis_ca *ca)
{
OpenPOWER on IntegriCloud