]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: cosmetic: satisfy gcc warning
authorArthur Kiyanovski <akiyano@amazon.com>
Tue, 21 Jul 2020 13:38:06 +0000 (16:38 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 22:59:04 +0000 (15:59 -0700)
commita8ad5d04a1dc98c9ec6805b25b2eee3868314e4e
tree6cdec55aa1025c5b4aedb709c2c2ac5b763d79b7
parentfe93e895e86429e10999338b1566fc56aca4b706
net: ena: cosmetic: satisfy gcc warning

gcc 4.8 reports a warning when initializing with = {0}.
Dropping the "0" from the braces fixes the issue.
This fix is not ANSI compatible but is allowed by gcc.

Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c