summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHari Kanigeri <h-kanigeri2@ti.com>2010-03-05 18:16:27 -0600
committerRicardo Perez Olivares <x0081762@ti.com>2010-03-08 10:14:27 -0600
commit38a5c8fd36523275a7d95b2cccd29666e5321dcb (patch)
treec35c079bc2f53ae32367e2ef1bf77cb665ee5254
parent080a391ebc6d410644f93006118a571d86d69380 (diff)
SYSLINK:notify-remove redunant check in notify send eventti-2.6.33-rc2-omap4-L24.4-p3
This patch removes the redundant check for clearing of the event by other core. The check is already performed before sending the mailbox interrupt. Performance is expected to improve by applying this patch. Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com> Signed-off-by: Anna Suman <s-anna@ti.com>
-rwxr-xr-x[-rw-r--r--]drivers/dsp/syslink/notify_ducatidriver/notify_ducati.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/dsp/syslink/notify_ducatidriver/notify_ducati.c b/drivers/dsp/syslink/notify_ducatidriver/notify_ducati.c
index 727095b638c7..f18f30694f15 100644..100755
--- a/drivers/dsp/syslink/notify_ducatidriver/notify_ducati.c
+++ b/drivers/dsp/syslink/notify_ducatidriver/notify_ducati.c
@@ -1012,23 +1012,6 @@ int notify_ducatidrv_sendevent(struct notify_driver_object *handle,
information to theremote processor */
status = omap_mbox_msg_send(ducati_mbox,
payload);
- i = 0;
- while ((other_event_chart[event_no].flag
- != DOWN)
- && status == 0) {
- /* Leave critical section protection
- Create a window of opportunity
- for other interrupts to be handled.
- */
- i++;
- if ((max_poll_count != (int) -1)
- && (i == max_poll_count)) {
- status = -EBUSY;
- printk(KERN_ERR "NOTIFY-remote"
- "not processed event %d\n",
- event_no);
- }
- }
}
/* Leave critical section protection. */
mutex_unlock(notify_ducatidriver_state.gate_handle);