svn commit: r241398 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Wed Oct 10 16:54:15 UTC 2012
Author: np
Date: Wed Oct 10 16:54:14 2012
New Revision: 241398
URL: http://svn.freebsd.org/changeset/base/241398
Log:
There is no need to report the same error twice.
MFC after: 3 days
Modified:
head/sys/dev/cxgbe/t4_sge.c
Modified: head/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sge.c Wed Oct 10 16:52:39 2012 (r241397)
+++ head/sys/dev/cxgbe/t4_sge.c Wed Oct 10 16:54:14 2012 (r241398)
@@ -417,22 +417,14 @@ t4_setup_adapter_queues(struct adapter *
* 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);
}
More information about the svn-src-head
mailing list