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

2010-01-26 Thread Omar Ramirez Luna
On 1/22/2010 9:23 PM, Ramirez Luna, Omar wrote: From: Andy Shevchenko 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 Shev

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

2010-01-22 Thread Omar Ramirez Luna
From: Andy Shevchenko 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 --- arch/arm/plat-omap/include/dspbridge