qemu-iotests: get rid of $iam

The variable is almost unused, and one of the two uses is actually
uninitialized.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Paolo Bonzini 2017-09-12 16:44:58 +02:00 committed by Kevin Wolf
parent 8f4dcaba9b
commit 4e670492ef
2 changed files with 2 additions and 5 deletions

View file

@ -30,12 +30,9 @@ interrupt=true
# by default don't output timestamps
timestamp=${TIMESTAMP:=false}
# generic initialization
iam=check
_init_error()
{
echo "$iam: $1" >&2
echo "check: $1" >&2
exit 1
}

View file

@ -43,7 +43,7 @@ poke_file()
if ! . ./common.config
then
echo "$iam: failed to source common.config"
echo "$0: failed to source common.config"
exit 1
fi