Index: uspace/drv/usbhid/kbddev.c
===================================================================
--- uspace/drv/usbhid/kbddev.c	(revision 73097991a48142e4f4e97b522699094e1a5bc343)
+++ uspace/drv/usbhid/kbddev.c	(revision e8c1fb0f2bb2d80d4c8e28ead926c0f2f82fc68e)
@@ -759,5 +759,5 @@
 			usb_log_warning("Failed to start a session: %s.\n",
 			    str_error(sess_rc));
-			continue;
+			break;
 		}
 
@@ -771,5 +771,5 @@
 			usb_log_warning("Error polling the keyboard: %s.\n",
 			    str_error(rc));
-			continue;
+			break;
 		}
 
@@ -777,5 +777,5 @@
 			usb_log_warning("Error closing session: %s.\n",
 			    str_error(sess_rc));
-			continue;
+			break;
 		}
 
@@ -798,7 +798,4 @@
 		//async_usleep(kbd_dev->hid_dev->poll_interval);
 	}
-
-	// not reached
-	assert(0);
 }
 
