Re: [PATCH 3/4] dspbridge: Don't use LST_Create() and LST_Delete()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/22/2010 9:23 PM, Ramirez Luna, Omar wrote:
From: Andy Shevchenko<ext-andriy.shevchenko@xxxxxxxxx>

Change LST_Create() to the MEM_Calloc() and INIT_LIST_HEAD() pair in optimal way.

Use MEM_Free() instead of LST_Delete(). We can use it without checking because
MEM_Free() validates input parameter.

Signed-off-by: Andy Shevchenko<ext-andriy.shevchenko@xxxxxxxxx>

Acked-by: Fernando Guzman Lugo <x0095840@xxxxxx>

---
  arch/arm/plat-omap/include/dspbridge/list.h |   63 ---------------------------
  drivers/dsp/bridge/pmgr/cmm.c               |   27 +++++++----
  drivers/dsp/bridge/pmgr/dev.c               |    9 +++-
  drivers/dsp/bridge/rmgr/drv.c               |   18 +++++---
  drivers/dsp/bridge/rmgr/node.c              |    6 ++-
  drivers/dsp/bridge/rmgr/rmm.c               |    7 ++-
  drivers/dsp/bridge/services/ntfy.c          |    6 ++-
  drivers/dsp/bridge/wmd/chnl_sm.c            |    5 +-
  drivers/dsp/bridge/wmd/msg_sm.c             |   29 ++++++++----
  9 files changed, 71 insertions(+), 99 deletions(-)


Pushed to dspbridge.

- omar
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux