]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit3824246d373249e3fc2fd775f5cb4700552681da
tree674aeb63eed4bdb87f5db83d9c793032ada61184
parentdb65f35f50e031ed5a37e2a92f8e8627ff39df9f
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