Re: [PATCH 1/4] DSPBRIDGE: Get rid of services/list.c

[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>

* Remove LST_Init() and LST_Exit() calls because they are doing nothing except
   tracing, Thus, remove tracing as well.

* Remove DBC_* calls. It's internal kernel business whether to have those
   assertions.

* Move methods from list.c as inline functions to the list.h.

* Switch to list_head structure instead of LST_ELEM:
   - define LST_ELEM as list_head via macro
   - substitute LST_ELEM by list_head
   - remove redudant code that uses head->self pointer

* Remove extra local variables.

* Use native list methods where it's possible inside the list.h.

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

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

---
  arch/arm/plat-omap/include/dspbridge/list.h |  128 ++++++++------
  drivers/dsp/bridge/Makefile                 |    2 +-
  drivers/dsp/bridge/services/list.c          |  246 ---------------------------
  drivers/dsp/bridge/services/mem.c           |    2 -
  drivers/dsp/bridge/services/services.c      |    9 +-
  5 files changed, 78 insertions(+), 309 deletions(-)
  delete mode 100644 drivers/dsp/bridge/services/list.c


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