Index: uspace/lib/usbdev/src/hub.c
===================================================================
--- uspace/lib/usbdev/src/hub.c	(revision ffa96c243f74449ac2805eb79c0595d3a4d5f9ba)
+++ uspace/lib/usbdev/src/hub.c	(revision f42adef07a3159c943569e37736d77255e2735ee)
@@ -162,19 +162,13 @@
 	if (hc_conn == NULL)
 		return EINVAL;
-
-	int rc;
+	
 	struct timeval start_time;
-
-	rc = gettimeofday(&start_time, NULL);
-	if (rc != EOK) {
+	gettimeofday(&start_time, NULL);
+	
+	/* We are gona do a lot of communication better open it in advance. */
+	int rc = usb_hc_connection_open(hc_conn);
+	if (rc != EOK)
 		return rc;
-	}
-
-	/* We are gona do a lot of communication better open it in advance. */
-	rc = usb_hc_connection_open(hc_conn);
-	if (rc != EOK) {
-		return rc;
-	}
-
+	
 	/* Request a new address. */
 	usb_address_t dev_addr =
@@ -226,11 +220,8 @@
 		goto leave_release_default_address;
 	}
-
+	
 	struct timeval end_time;
-	rc = gettimeofday(&end_time, NULL);
-	if (rc != EOK) {
-		goto leave_release_default_address;
-	}
-
+	gettimeofday(&end_time, NULL);
+	
 	/* According to the USB spec part 9.1.2 host allows 100ms time for
 	 * the insertion process to complete. According to 7.1.7.1 this is the
