linux/drivers/net/ethernet/tile
Chris Metcalf 444fa88ac3 net: tilegx driver: avoid compiler warning
The "id" variable was being incremented in common code, but only
initialized and used in IPv4 code.  We move the increment to the IPv4
code too, and then legitimately use the uninitialized_var() macro to
avoid the gcc 4.6 warning that 'id' may be used uninitialized.
Note that gcc 4.7 does not warn.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-09-11 16:57:45 -04:00
..
Kconfig tile: support PTP using the tilegx mPIPE (IEEE 1588) 2013-08-01 14:35:51 -07:00
Makefile tilegx network driver: initial support 2012-06-11 17:01:26 -07:00
tilegx.c net: tilegx driver: avoid compiler warning 2013-09-11 16:57:45 -04:00
tilepro.c tile: remove deprecated NETIF_F_LLTX flag from tile drivers 2013-08-01 14:35:51 -07:00