r8169: replace longer if statements with switch statements
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 2 May 2018 19:39:52 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 20:23:49 +0000 (16:23 -0400)
commitb2d43e6ecf6630e39f35573dce0ff9ae5af9e1a8
tree7af87e7ab0f0504e27c5931ed29862e5c80fa935
parent2a71883c4fd73a5d235363e6f8db118532d2d001
r8169: replace longer if statements with switch statements

Some longer if statements can be simplified by using switch
statements instead.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c