gianfar: Use memset instead of cacheable_memzero
authorKumar Gala <galak@kernel.crashing.org>
Tue, 28 Apr 2009 15:04:10 +0000 (08:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Apr 2009 15:04:10 +0000 (08:04 -0700)
commit6c31d55f755ff2bc1f7dc3b45c500032fe90aff8
tree8df9753c3f0ab4ebdb332650d11cf5bb5f2260e5
parentac5978e7f83a6cbd9a70282d6e39bd936a31b2bc
gianfar: Use memset instead of cacheable_memzero

cacheable_memzero() is completely overkill for the clearing out the FCB
block which is only 8-bytes.  The compiler should easily optimize this
with memset.  Additionally, cacheable_memzero() only exists on ppc32 and
thus breaks builds of gianfar on ppc64.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c