r8169: make rtl_fw_format_ok and rtl_fw_data_ok more independent
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 3 Jun 2019 19:25:43 +0000 (21:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:38:43 +0000 (15:38 -0700)
commit4edb00f391d3501bef95a62769faf05eb73eb406
tree22e922fe9a2bdba424bdbd6ea0175a3c2e5ec1ec
parent2956870e0ae392c45e0cad70768aecb8b846b3d9
r8169: make rtl_fw_format_ok and rtl_fw_data_ok more independent

In preparation of factoring out the firmware handling code avoid any
usage of struct rtl8169_private internals. As part of it we can inline
rtl_check_firmware.

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