pl330.c: remove superfluous '\n' around error_setg

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Gonglei 2015-02-25 12:22:29 +08:00 committed by Michael Tokarev
parent 15e10b3499
commit 0c267a6b40

View File

@ -1566,7 +1566,7 @@ static void pl330_realize(DeviceState *dev, Error **errp)
s->cfg[1] |= 5; s->cfg[1] |= 5;
break; break;
default: default:
error_setg(errp, "Bad value for i-cache_len property: %" PRIx8 "\n", error_setg(errp, "Bad value for i-cache_len property: %" PRIx8,
s->i_cache_len); s->i_cache_len);
return; return;
} }
@ -1601,7 +1601,7 @@ static void pl330_realize(DeviceState *dev, Error **errp)
s->cfg[CFG_CRD] |= 0x4; s->cfg[CFG_CRD] |= 0x4;
break; break;
default: default:
error_setg(errp, "Bad value for data_width property: %" PRIx8 "\n", error_setg(errp, "Bad value for data_width property: %" PRIx8,
s->data_width); s->data_width);
return; return;
} }