bus/fslmc: remove unused device count
authorConor Walsh <conor.walsh@intel.com>
Mon, 15 Nov 2021 17:58:51 +0000 (17:58 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Tue, 16 Nov 2021 12:01:52 +0000 (13:01 +0100)
commit54d109b5643002d4368a7355af5fa623aede330a
tree25ae5245ade0c12747983a812c67df81878f6990
parent6dfcdf8fd54ae2b94a2897e3744f7dd80fbcae2f
bus/fslmc: remove unused device count

Reported by clang 13.
This patch removes the device_count variable from the rte_fslmc_scan
function within the fslmc bus driver as it is an unused but set variable.

Bugzilla ID: 881
Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions")
Cc: stable@dpdk.org
Reported-by: Liang Longfeng <longfengx.liang@intel.com>
Signed-off-by: Conor Walsh <conor.walsh@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/bus/fslmc/fslmc_bus.c