Commit 5b6718cc authored by Komal Shah's avatar Komal Shah Committed by Tony Lindgren

ARM: OMAP: Remove unnecessary memset in dsp task.c

- and remove commented "struct device_driver"
Signed-off-by: default avatarKomal Shah <komal_shah802003@yahoo.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 96c1871a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment