summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorFlorian Schirmer <devnull@localhost>2003-01-02 11:26:46 +0000
committerFlorian Schirmer <devnull@localhost>2003-01-02 11:26:46 +0000
commit139f2ddf00c086ea81b406b9fea2b31bdcb05a13 (patch)
treee5e2e692f483c4f30fffa97264d1174fd05589e5 /linux/drivers/media
parente9872aa78e8f16ff0e4b7480ad972cbf9844f406 (diff)
downloadmediapointer-dvb-s2-139f2ddf00c086ea81b406b9fea2b31bdcb05a13.tar.gz
mediapointer-dvb-s2-139f2ddf00c086ea81b406b9fea2b31bdcb05a13.tar.bz2
Do not return values greater than zero
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 635d6ad94..ba870153d 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -651,7 +651,6 @@ dvb_add_frontend_ioctls (struct dvb_adapter *adapter,
{
struct dvb_frontend_ioctl_data *ioctl;
struct list_head *entry;
- int frontend_count = 0;
dprintk ("%s\n", __FUNCTION__);
@@ -684,13 +683,12 @@ dvb_add_frontend_ioctls (struct dvb_adapter *adapter,
fe->frontend.before_ioctl = before_ioctl;
fe->frontend.after_ioctl = after_ioctl;
fe->frontend.before_after_data = before_after_data;
- frontend_count++;
}
}
up (&frontend_mutex);
- return frontend_count;
+ return 0;
}
@@ -749,7 +747,6 @@ dvb_add_frontend_notifier (struct dvb_adapter *adapter,
{
struct dvb_frontend_notifier_data *notifier;
struct list_head *entry;
- int frontend_count = 0;
dprintk ("%s\n", __FUNCTION__);
@@ -779,13 +776,12 @@ dvb_add_frontend_notifier (struct dvb_adapter *adapter,
{
fe->frontend.notifier_callback = callback;
fe->frontend.notifier_data = data;
- frontend_count++;
}
}
up (&frontend_mutex);
- return frontend_count;
+ return 0;
}