net/e1000: clean LTO warnings
authorAndrzej Ostruszka <aostruszka@marvell.com>
Thu, 7 Nov 2019 15:03:15 +0000 (16:03 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 8 Nov 2019 14:23:41 +0000 (15:23 +0100)
commit46136031f19107f4e9b6b3a952cb7f57877a7f0f
tree6fc924eb995e954509f434a513e6965fa5709f45
parent7bbc7dc431a66e81514219f1734ed263a3db3359
net/e1000: clean LTO warnings

During LTO build compiler reports some 'false positive' warnings about
variables being possibly used uninitialized.  This patch silences these
warnings.

Exemplary compiler warning to suppress (with LTO enabled):
error: ‘link’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
  if (link) {

Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
drivers/net/e1000/base/e1000_82543.c
drivers/net/e1000/base/e1000_ich8lan.c
drivers/net/e1000/base/e1000_phy.c