generic: fix compilation warning for ar8xxx swconfig
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 1 Mar 2022 15:47:11 +0000 (16:47 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 03:51:38 +0000 (04:51 +0100)
commit49d9d2b2105d3b547dd4ae35a691ed6eec6b4845
tree57f0d446154c8acfcacc9557ae289d0fbdd07512
parent327b6dbd98ed98be04eb891d9682ae212fe9f09d
generic: fix compilation warning for ar8xxx swconfig

There are 2 warning for ar8xxx swconfig.
- Fix not used dev variable when ETHERNET_PACKET_MANGLE
  is not selected
- Convert fallthrough comment to compilation macro

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/generic/files/drivers/net/phy/ar8216.c
target/linux/generic/files/drivers/net/phy/ar8327.c