i40e/base: remove useless assignments
authorJingjing Wu <jingjing.wu@intel.com>
Sun, 6 Sep 2015 07:12:00 +0000 (15:12 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 Oct 2015 23:35:22 +0000 (01:35 +0200)
commit8af9e07ff73336ca3860cfeaaeac381bcdd15c93
treef3c1307068c898be3cac8a865a2a155552b1054f
parente31d665baadae46b00f446e717b4ae107fd2a04c
i40e/base: remove useless assignments

The assignments of addr_high and addr_low were not only wrong because
they were assigning virtual addresses to a hardware accessed variable,
but they were shortly thereafter overwritten by the send_asq_command
call with a non-NULL third argument (buffer) with correctly formatted
data.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Tested-by: Huilong Xu <huilongx.xu@intel.com>
drivers/net/i40e/base/i40e_common.c