Index: kernel/arch/sparc64/src/drivers/sgcn.c
===================================================================
--- kernel/arch/sparc64/src/drivers/sgcn.c	(revision 43847ba907ebd1f5c61b0562d71ba089ad0d0c9f)
+++ kernel/arch/sparc64/src/drivers/sgcn.c	(revision 8e7afdbcf69dd1225fd11f3444d63f9563bfd98e)
@@ -342,16 +342,17 @@
 {
 	sgcn_buffer_begin_init();
-
+	
 	sgcn_instance_t *instance =
 	    malloc(sizeof(sgcn_instance_t), FRAME_ATOMIC);
-	if (!instance)
-		return NULL;
-
-	instance->srlnin = NULL;
-	instance->thread = thread_create(ksgcnpoll, instance, TASK, 0,
-	    "ksgcnpoll", true);
-	if (!instance->thread) {
-		free(instance);
-		return NULL;
+	
+	if (instance) {
+		instance->srlnin = NULL;
+		instance->thread = thread_create(ksgcnpoll, instance, TASK, 0,
+		    "ksgcnpoll", true);
+		
+		if (!instance->thread) {
+			free(instance);
+			return NULL;
+		}
 	}
 	
