bnx2x: Get rid of useless temporary variable
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Thu, 27 Apr 2017 13:37:01 +0000 (16:37 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2017 02:28:00 +0000 (22:28 -0400)
commit90a1bb98167c75b65e2a0527ef9200d172be3442
treee2aa9af0d9afbfdf7c90179e480898c4878e303f
parentb77f016726bded1fe3abb10272343d39df6b50f1
bnx2x: Get rid of useless temporary variable

Replace pattern

 int status;
 ...
 status = func(...);
 return status;

by

 return func(...);

No functional change intented.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c