r8169: improve rtl_fw_format_ok
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 29 May 2019 19:13:58 +0000 (21:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 May 2019 21:39:25 +0000 (14:39 -0700)
commite95a7f30e1261f03487b15a8bd55bb812ceaa18b
treeecf43c79c73b3d6f1683237874c344678f37b310
parent25e94115aee6dc8fb088a57945974d334eb72575
r8169: improve rtl_fw_format_ok

Simplify the function a little bit and use strscpy() where appropriate.

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