From 5b6718ccf631021118b1d6b867c505f9ac678e5e Mon Sep 17 00:00:00 2001 From: Komal Shah Date: Thu, 21 Dec 2006 15:02:18 -0800 Subject: [PATCH] ARM: OMAP: Remove unnecessary memset in dsp task.c - and remove commented "struct device_driver" Signed-off-by: Komal Shah Signed-off-by: Tony Lindgren --- arch/arm/plat-omap/dsp/task.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/plat-omap/dsp/task.c b/arch/arm/plat-omap/dsp/task.c index 7fcc06acf69..807c40835dc 100644 --- a/arch/arm/plat-omap/dsp/task.c +++ b/arch/arm/plat-omap/dsp/task.c @@ -108,7 +108,6 @@ struct rcvdt_bk_struct { struct taskdev { struct bus_type *bus; -// struct device_driver *driver; struct device dev; /* Generic device interface */ long state; @@ -564,9 +563,6 @@ int dsp_task_config_all(u8 n) struct dsptask *taskheap; size_t devheapsz, taskheapsz; - memset(taskdev, 0, sizeof(void *) * TASKDEV_MAX); - memset(dsptask, 0, sizeof(void *) * TASKDEV_MAX); - printk(KERN_INFO "omapdsp: found %d task(s)\n", n); if (n == 0) return 0; -- 2.41.1