Make unknown register reads predictable.

Reported by:	Coverity
CID:		1357525
This commit is contained in:
Alexander Motin 2016-07-12 17:38:18 +00:00
parent 98e82c02e5
commit e95b7573d7

View File

@ -2000,6 +2000,7 @@ e82545_read_register(struct e82545_softc *sc, uint32_t offset)
break;
default:
DPRINTF("Unknown read register: 0x%x\r\n", offset);
retval = 0;
break;
}