Page MenuHomeFreeBSD

D6301.id16192.diff
No OneTemporary

D6301.id16192.diff

Index: head/sys/mips/adm5120/obio.c
===================================================================
--- head/sys/mips/adm5120/obio.c
+++ head/sys/mips/adm5120/obio.c
@@ -486,10 +486,6 @@
struct obio_ivar *ivar;
ivar = malloc(sizeof(struct obio_ivar), M_DEVBUF, M_WAITOK | M_ZERO);
- if (ivar == NULL) {
- printf("Failed to allocate ivar\n");
- return (0);
- }
resource_list_init(&ivar->resources);
child = device_add_child_ordered(bus, order, name, unit);
Index: head/sys/mips/alchemy/obio.c
===================================================================
--- head/sys/mips/alchemy/obio.c
+++ head/sys/mips/alchemy/obio.c
@@ -478,10 +478,6 @@
struct obio_ivar *ivar;
ivar = malloc(sizeof(struct obio_ivar), M_DEVBUF, M_WAITOK | M_ZERO);
- if (ivar == NULL) {
- printf("Failed to allocate ivar\n");
- return (0);
- }
resource_list_init(&ivar->resources);
child = device_add_child_ordered(bus, order, name, unit);
Index: head/sys/mips/atheros/apb.c
===================================================================
--- head/sys/mips/atheros/apb.c
+++ head/sys/mips/atheros/apb.c
@@ -451,10 +451,6 @@
struct apb_ivar *ivar;
ivar = malloc(sizeof(struct apb_ivar), M_DEVBUF, M_WAITOK | M_ZERO);
- if (ivar == NULL) {
- printf("Failed to allocate ivar\n");
- return (0);
- }
resource_list_init(&ivar->resources);
child = device_add_child_ordered(bus, order, name, unit);
Index: head/sys/mips/idt/obio.c
===================================================================
--- head/sys/mips/idt/obio.c
+++ head/sys/mips/idt/obio.c
@@ -428,10 +428,6 @@
struct obio_ivar *ivar;
ivar = malloc(sizeof(struct obio_ivar), M_DEVBUF, M_WAITOK | M_ZERO);
- if (ivar == NULL) {
- printf("Failed to allocate ivar\n");
- return (0);
- }
resource_list_init(&ivar->resources);
child = device_add_child_ordered(bus, order, name, unit);
Index: head/sys/mips/rt305x/obio.c
===================================================================
--- head/sys/mips/rt305x/obio.c
+++ head/sys/mips/rt305x/obio.c
@@ -547,10 +547,6 @@
struct obio_ivar *ivar;
ivar = malloc(sizeof(struct obio_ivar), M_DEVBUF, M_WAITOK | M_ZERO);
- if (ivar == NULL) {
- printf("Failed to allocate ivar\n");
- return (0);
- }
resource_list_init(&ivar->resources);
child = device_add_child_ordered(bus, order, name, unit);

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 29, 10:00 AM (7 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32341846
Default Alt Text
D6301.id16192.diff (2 KB)

Event Timeline