raw/ifpga/base: fix logically dead code
authorTianfei Zhang <tianfei.zhang@intel.com>
Fri, 21 Jun 2019 08:40:14 +0000 (16:40 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 13:34:55 +0000 (15:34 +0200)
commit8e80eb4e6222c961f7d79c26dfae8123c4284b8f
tree8c5edb1cb01b19e89ff8bbb0ecab74c3bd530e02
parent8234347f999daed5ddcbfd659260fed79abb537a
raw/ifpga/base: fix logically dead code

add temporary variable in max10_reg_write().

Coverity issue: 337927
Fixes: 96ebfcf ("raw/ifpga/base: add SPI and MAX10 device driver")
Cc: stable@dpdk.org
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga_rawdev/base/opae_intel_max10.c