Re: [PATCH v1 3/3] bnx2x: Get rid of useless temporary variable

2017-04-30 Thread David Miller
From: Andy Shevchenko Date: Thu, 27 Apr 2017 16:37:01 +0300 > From: Andy Shevchenko > > Replace pattern > > int status; > ... > status = func(...); > return status; > > by > > return func(...); > > No functional change intented. > > Signed-off-by: Andy Shevchenko Applied.

[PATCH v1 3/3] bnx2x: Get rid of useless temporary variable

2017-04-27 Thread Andy Shevchenko
From: Andy Shevchenko Replace pattern int status; ... status = func(...); return status; by return func(...); No functional change intented. Signed-off-by: Andy Shevchenko --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 14 +- 1 file changed, 5 insertions(+), 9 dele