]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: tile: Remove unnecessary memset of netdev private data
authorTobias Klauser <tklauser@distanz.ch>
Tue, 27 May 2014 12:03:51 +0000 (14:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 May 2014 00:06:23 +0000 (17:06 -0700)
commit884460178fba4a2b2522c21e85c67db95f166354
tree8d370cf427554922e32e3171724a283c66a1ab1a
parentd581ebf5a1f82a27d7df21bd1d76e517c67b49d5
net: tile: Remove unnecessary memset of netdev private data

The memory for private data is allocated using kzalloc/vzalloc in
alloc_netdev_mqs, thus there is no need to zero it again in the driver.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c