From: Ben Hutchings Date: Fri, 23 Oct 2009 08:28:53 +0000 (+0000) Subject: sfc: Remove redundant hardware initialisation X-Git-Tag: firefly_0821_release~9833^2~3968^2~737 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19e71cf6910defed10c5d22af9f4591bbcd6a0fe;p=firefly-linux-kernel-4.4.55.git sfc: Remove redundant hardware initialisation Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index c049364aec46..57898fd5298c 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c @@ -2933,10 +2933,6 @@ int falcon_init_nic(struct efx_nic *efx) falcon_write(efx, &temp, GPIO_CTL_REG_KER); } - /* Set buffer table mode */ - EFX_POPULATE_OWORD_1(temp, BUF_TBL_MODE, BUF_TBL_MODE_FULL); - falcon_write(efx, &temp, BUF_TBL_CFG_REG_KER); - rc = falcon_reset_sram(efx); if (rc) return rc;