r8169: replace get_protocol with vlan_get_protocol
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 2 May 2018 19:40:02 +0000 (21:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 May 2018 20:23:49 +0000 (16:23 -0400)
commit4ff36466281428734791d3cc6331b8cca7c76019
treeafd11299667c130052faeab7aee9e22033714c95
parent353af85ed811d84ca349c6d6e5df8055eeab5bd5
r8169: replace get_protocol with vlan_get_protocol

This patch is basically the same as 6e74d1749a33 ("r8152: replace
get_protocol with vlan_get_protocol"). Use vlan_get_protocol
instead of duplicating the functionality.

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