scripts/get-pmr: Update comment, remove unused vars

Signed-off-by: Michal Berger <michal.berger@intel.com>
Change-Id: I275853e5c3695912cb1eb4d81f99d4dc4ce26d91
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14821
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
This commit is contained in:
Michal Berger 2022-10-02 13:15:58 +02:00 committed by Tomasz Zawadzki
parent 29756d4c69
commit 8d7abaf5e2

View File

@ -3,7 +3,7 @@
# Copyright (C) 2021 Intel Corporation # Copyright (C) 2021 Intel Corporation
# All rights reserved. # All rights reserved.
# We simply check if BAR2 is present as that's where PMR or CMB is # We simply check if BAR2, BAR4 are present as that's where PMR or CMB is
# meant to be located under qemu. If found, print some stats then exit. # meant to be located under qemu. If found, print some stats then exit.
shopt -s nullglob shopt -s nullglob
@ -33,12 +33,12 @@ get_size() {
info() { info() {
local dev=$1 local dev=$1
local pref loc local pref
local base_addr2 local base_addr2
local base_addr4 local base_addr4
local bar local bar2 bar3 bar4 bar5 local bar bar2 bar3 bar4 bar5
local bar_type2 local bar_type2
pref[0]=non-prefetchable pref[0]=non-prefetchable