net: i40e: shut up uninitialized variable warnings
authorArnd Bergmann <arnd@arndb.de>
Thu, 21 Jan 2016 03:53:17 +0000 (19:53 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Jan 2016 23:49:36 +0000 (15:49 -0800)
commit79febbc19b81b5242339bffb90e4dbea15015dde
treeec3bf6f3134a902c5efdce56d195cc6c16047dca
parent5cae7615b613381a04d3dd06b8237234cc3f7cc9
net: i40e: shut up uninitialized variable warnings

intel/i40e/i40e_txrx.c: In function 'i40e_xmit_frame_ring':
intel/i40e/i40e_txrx.c:2367:20: error: 'oiph' may be used uninitialized in this function [-Werror=maybe-uninitialized]
intel/i40e/i40e_txrx.c:2317:16: note: 'oiph' was declared here
intel/i40e/i40e_txrx.c:2367:17: error: 'oudph' may be used uninitialized in this function [-Werror=maybe-uninitialized]
intel/i40e/i40e_txrx.c:2316:17: note: 'oudph' was declared here

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c