From 6e65ce7cfe0f8db052e7884b8dcc1300e0fd6506 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Thu, 19 Jun 2003 09:34:02 +0000 Subject: Add missing count variable, thanks to --- linux/drivers/media/dvb/ttpci/budget-patch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/ttpci') diff --git a/linux/drivers/media/dvb/ttpci/budget-patch.c b/linux/drivers/media/dvb/ttpci/budget-patch.c index 5ce7e02c4..0eb9c8eae 100644 --- a/linux/drivers/media/dvb/ttpci/budget-patch.c +++ b/linux/drivers/media/dvb/ttpci/budget-patch.c @@ -165,7 +165,8 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte { struct budget_patch *budget; int err; - + int count = 0; + if (!(budget = kmalloc (sizeof(struct budget_patch), GFP_KERNEL))) return -ENOMEM; -- cgit v1.2.3