Index: uspace/drv/block/usbmast/main.c
===================================================================
--- uspace/drv/block/usbmast/main.c	(revision a1732929ba941aba7936eef2d1f299b1f423d3b5)
+++ uspace/drv/block/usbmast/main.c	(revision 5f0b36652626bacf358059d5959ca96fd2331605)
@@ -180,7 +180,6 @@
 	mdev->luns = calloc(mdev->lun_count, sizeof(ddf_fun_t*));
 	if (mdev->luns == NULL) {
-		rc = ENOMEM;
 		usb_log_error("Failed allocating luns table.");
-		goto error;
+		return ENOMEM;
 	}
 
