Skip to content
Commit 16d4d650 authored by Weihang Li's avatar Weihang Li Committed by David S. Miller
Browse files

net: phy: replace if-else statements with switch



Switch statement is clearer than a group of 'if-else'.

Signed-off-by: default avatarWeihang Li <liweihang@huawei.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 33ab4632
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment