1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00:00

There is no need to report the same error twice.

MFC after:	3 days
This commit is contained in:
Navdeep Parhar 2012-10-10 16:54:14 +00:00
parent 5323ca8f4b
commit aa95b6533b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241398

View File

@ -417,22 +417,14 @@ t4_setup_adapter_queues(struct adapter *sc)
* Firmware event queue
*/
rc = alloc_fwq(sc);
if (rc != 0) {
device_printf(sc->dev,
"failed to create firmware event queue: %d\n", rc);
if (rc != 0)
return (rc);
}
/*
* Management queue. This is just a control queue that uses the fwq as
* its associated iq.
*/
rc = alloc_mgmtq(sc);
if (rc != 0) {
device_printf(sc->dev,
"failed to create management queue: %d\n", rc);
return (rc);
}
return (rc);
}