lkml.org 
[lkml]   [2014]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] bnx2x: Remove hidden flow control goto from BNX2X_ALLOC macros
From
From: Joe Perches <joe@perches.com>
Date: Thu, 20 Feb 2014 13:25:51 -0800

> BNX2X_ALLOC macros use "goto alloc_mem_err"
> so these labels appear unused in some functions.
>
> Expand these macros in-place via coccinelle and
> some typing.
>
> Update the macros to use statement expressions
> and remove the BNX2X_ALLOC macro.
>
> This adds some > 80 char lines.
...
> Signed-off-by: Joe Perches <joe@perches.com>

Applied, thanks Joe.


\
 
 \ /
  Last update: 2014-02-26 00:21    [W:0.035 / U:2.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site