r8169: simplify code by using ranges in switch clauses
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 2 May 2018 19:39:49 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 20:23:49 +0000 (16:23 -0400)
commit2a71883c4fd73a5d235363e6f8db118532d2d001
treed8e9475abb83d4f720fb9933fca16b19ab715dfe
parent4f447d296982e5776c4fbaf1cc56c5402b86ccb7
r8169: simplify code by using ranges in switch clauses

Several switch statements can be significantly simplified by using
case ranges.

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