summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2006-01-12 13:09:55 +0000
committerMauro Carvalho Chehab <devnull@localhost>2006-01-12 13:09:55 +0000
commit897df2a4edc8a794befcd10d52db7c000994a46d (patch)
tree1ca41f55afffb21aa0b3ba3d8844205e92ccd6b6 /linux/drivers/media/video/saa7134/saa7134-core.c
parent53e0372380feff0b202c4178d178cf7ba96c475d (diff)
downloadmediapointer-dvb-s2-897df2a4edc8a794befcd10d52db7c000994a46d.tar.gz
mediapointer-dvb-s2-897df2a4edc8a794befcd10d52db7c000994a46d.tar.bz2
removed uneeded init on structs like static int foo=0
From: Mauro Carvalho Chehab <mchehab@infradead.org> - static vars are equal to zero by default. Removed unnecessary =0 from them, saving some data space; - Fixed compiling against kernels bellow 2.6.13. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c
index 710885443..51f9dfe2f 100644
--- a/linux/drivers/media/video/saa7134/saa7134-core.c
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-core.c,v 1.62 2006/01/11 19:28:02 mchehab Exp $
+ * $Id: saa7134-core.c,v 1.63 2006/01/12 13:09:55 mchehab Exp $
*
* device driver for philips saa7134 based TV cards
* driver core
@@ -202,7 +202,7 @@ static int pending_call(struct notifier_block *self, unsigned long state,
return NOTIFY_DONE;
}
-static int pending_registered=0;
+static int pending_registered;
static struct notifier_block pending_notifier = {
.notifier_call = pending_call,
};