]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Remove unnecessary memset in dsp task.c
authorKomal Shah <komal.shah802003@gmail.com>
Thu, 21 Dec 2006 23:02:18 +0000 (15:02 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Dec 2006 23:02:18 +0000 (15:02 -0800)
- and remove commented "struct device_driver"

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dsp/task.c

index 7fcc06acf69393429f0c615647cb367fb293b114..807c40835dc2f0ab801ae05fcdd66e3ac9f4daa0 100644 (file)
@@ -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;