Re: [PATCH] DSPBRIDGE: MEM_Free() cleanup

2010-02-02 Thread Ameya Palande
On Mon, 2010-02-01 at 17:57 +0100, Palande Ameya (Nokia-D/Helsinki) wrote: > Since kfree() checks for null pointer, there is no need to check is again in > MEM_Free(). This patch also reorganizes the function to make it more readable. > > Signed-off-by: Ameya Palande > --- > drivers/dsp/bridge/s

[PATCH] DSPBRIDGE: MEM_Free() cleanup

2010-02-01 Thread Ameya Palande
Since kfree() checks for null pointer, there is no need to check is again in MEM_Free(). This patch also reorganizes the function to make it more readable. Signed-off-by: Ameya Palande --- drivers/dsp/bridge/services/mem.c | 40 ++-- 1 files changed, 16 insertio