From: Paulius Zaleckas Date: Tue, 6 May 2008 20:50:30 +0000 (+0300) Subject: atmel: use netstats in net_device structure X-Git-Tag: v2.6.27-rc1~969^2~441^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=736bc924fe7183dd27182a9148e78f250c1637ee;p=pandora-kernel.git atmel: use netstats in net_device structure Use net_device_stats from net_device structure instead of local. Kill atmel_get_stats function, because by default it is used identical internal_stats function from net/core/dev.c No need to memset stats to 0, because they are allocated by kzalloc. P.S. Someone should cleanup init_atmel_card function from unneeded initializations to 0/NULL. Out of scope for this patch. Signed-off-by: Paulius Zaleckas Signed-off-by: John W. Linville --- Reading git-diff-tree failed