[Cbe-oss-dev] [PATCH 7/7]MARS/task: Queue minor cleanup

Geert Uytterhoeven Geert.Uytterhoeven at sonycom.com
Tue Jan 20 20:11:01 EST 2009


On Fri, 16 Jan 2009, Yuji Mano wrote:
> Minor fix to adhere to coding standard.
> 
> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
> 
> ---
>  task/src/host/lib/task_queue.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> --- a/task/src/host/lib/task_queue.c
> +++ b/task/src/host/lib/task_queue.c
> @@ -89,7 +89,8 @@ int mars_task_queue_create(struct mars_c
>  		MARS_TASK_QUEUE_ALIGN, MARS_TASK_QUEUE_SIZE);
>  
>  	/* allocate queue buffer instance */
> -	buffer_ea = mars_ea_memalign(MARS_TASK_QUEUE_BUFFER_ALIGN, size * depth);
> +	buffer_ea = mars_ea_memalign(
> +		MARS_TASK_QUEUE_BUFFER_ALIGN, size * depth);

Why not

	buffer_ea = mars_ea_memalign(MARS_TASK_QUEUE_BUFFER_ALIGN,
				     size * depth);

?

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven at sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010



More information about the cbe-oss-dev mailing list