From: Tony Lindgren <tony@atomide.com>
To: Komal Shah <komal.shah802003@gmail.com>
Cc: linux-omap-open-source <linux-omap-open-source@linux.omap.com>
Subject: Re: [PATCH] ARM: OMAP: Remove unnecessary memset in dsp task.c
Date: Thu, 21 Dec 2006 15:02:41 -0800 [thread overview]
Message-ID: <20061221230240.GI10399@atomide.com> (raw)
In-Reply-To: <3a5b1be00612041027h2e3cefefwf140897ee1bb4717@mail.gmail.com>
* Komal Shah <komal.shah802003@gmail.com> [061204 10:33]:
> There is much more duplicated code can be removed in task.c by using
> already available wait_for_event_{un}interruptible_{timeout},
> prepare_wait, finish_wait etc calls. What do you say?
>
> --
> ---Komal Shah
> http://komalshah.blogspot.com
> From 4e89cea55f7aa2162a7541106443eef609666ed0 Mon Sep 17 00:00:00 2001
> From: Komal Shah <komal_shah802003@yahoo.com>
> Date: Mon, 4 Dec 2006 23:52:11 +0530
> Subject: [PATCH] ARM: OMAP: Remove unnecessary memset in dsp task.c
>
> - and remove commented "struct device_driver"
>
> Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
> ---
> arch/arm/plat-omap/dsp/task.c | 4 ----
> 1 files changed, 0 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/plat-omap/dsp/task.c b/arch/arm/plat-omap/dsp/task.c
> index 7fcc06a..807c408 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;
Pushing today.
Tony
prev parent reply other threads:[~2006-12-21 23:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-04 18:27 [PATCH] ARM: OMAP: Remove unnecessary memset in dsp task.c Komal Shah
2006-12-05 7:44 ` Hiroshi DOYU
2006-12-21 23:02 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061221230240.GI10399@atomide.com \
--to=tony@atomide.com \
--cc=komal.shah802003@gmail.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.