]> git.karo-electronics.de Git - linux-beck.git/commit
phy: kill excess code
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sun, 5 Jan 2014 00:23:19 +0000 (03:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jan 2014 00:27:58 +0000 (19:27 -0500)
commit553fe92b26e15200a4df9c618175c79e49b6cc55
tree228531fb1cb0f8b5eef2f2c3039d9cef010b2c45
parente62a768f55ce8df1d092b5d93357dcc0894d8060
phy: kill excess code

Remove some excess code:

- convert assignments to initializers;

- kill useless assignments before *return*.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c