OSDN Git Service

net: mvpp2: simplify the link_event function
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Wed, 30 Aug 2017 08:29:16 +0000 (10:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 22:17:46 +0000 (15:17 -0700)
commit968b211c620b567a4d2183beb0516cbd2c73560a
treec1ddc7a9cc5ad6366692c36842082a9612a65bba
parent542897d987b0d16c4346952f116acb80a8e82a38
net: mvpp2: simplify the link_event function

The link_event function is somewhat complicated. This cosmetic patch
simplifies it.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c