sfc: Do not initialise buffer in efx_alloc_special_buffer()
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 18 Sep 2012 23:31:18 +0000 (00:31 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Sat, 1 Dec 2012 01:56:22 +0000 (01:56 +0000)
commitc3771a35bebeea16c4fd94d1116010cc02b1f75e
treee29ba609fba85c1fe451443cb52e326144fb552b
parentef492f11efed9a6a1686bf914fb74468df59385c
sfc: Do not initialise buffer in efx_alloc_special_buffer()

Currently we initialise the newly allocated buffer to all-1s, which is
important for event queues but not for descriptor queues.  And since
we also do that in efx_nic_init_eventq(), it is completely pointless
to do it here.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/nic.c