]> git.baikalelectronics.ru Git - kernel.git/commit
net: ll_temac: Use one return statement instead of two
authorMichal Simek <michal.simek@xilinx.com>
Mon, 11 May 2015 14:05:02 +0000 (16:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 May 2015 18:16:18 +0000 (14:16 -0400)
commit5de71e4fbd8ec1645597e984433e5ab2f42ba034
tree674aeb63eed4bdb87f5db83d9c793032ada61184
parentc08496634aad401abf2187db6180a94303b96cb0
net: ll_temac: Use one return statement instead of two

Use one return statement instead of two to simplify the code.
Both are returning the same value.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c