sonic: fix typo

Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Hervé Poussineau 2011-11-06 22:48:50 +01:00 committed by Stefan Hajnoczi
parent 1c8a881daa
commit d180589621

View File

@ -515,7 +515,7 @@ static void write_register(dp8393xState *s, int reg, uint16_t val)
switch (reg) {
/* Command register */
case SONIC_CR:
do_command(s, val);;
do_command(s, val);
break;
/* Prevent write to read-only registers */
case SONIC_CAP2: