Index: uspace/drv/bus/usb/usbhid/kbd/kbdrepeat.c
===================================================================
--- uspace/drv/bus/usb/usbhid/kbd/kbdrepeat.c	(revision 4578a6eddb5caa32837573ce3c101eac5cdfa8ec)
+++ uspace/drv/bus/usb/usbhid/kbd/kbdrepeat.c	(revision 6843a9ccc55ea4287771f720d4f1117afbcb5bee)
@@ -45,7 +45,4 @@
 #include "kbddev.h"
 
-
-
-/*----------------------------------------------------------------------------*/
 /**
  * Main loop handling the auto-repeat of keys.
@@ -58,12 +55,12 @@
  * If the same key is still pressed, it uses the delay between repeats stored
  * in the keyboard structure to wait until the key should be repeated.
- * 
+ *
  * If the currently repeated key is not pressed any more (
- * usb_kbd_repeat_stop() was called), it stops repeating it and starts 
+ * usb_kbd_repeat_stop() was called), it stops repeating it and starts
  * checking again.
  *
  * @note For accessing the keyboard device auto-repeat information a fibril
  *       mutex (repeat_mtx) from the @a kbd structure is used.
- * 
+ *
  * @param kbd Keyboard device structure.
  */
@@ -75,10 +72,10 @@
 
 	while (true) {
-		// check if the kbd structure is usable
+		/* Check if the kbd structure is usable. */
 		if (!usb_kbd_is_initialized(kbd)) {
 			usb_log_warning("kbd not ready, exiting autorepeat.\n");
 			return;
 		}
-		
+
 		fibril_mutex_lock(&kbd->repeat_mtx);
 
@@ -105,9 +102,7 @@
 		}
 		fibril_mutex_unlock(&kbd->repeat_mtx);
-		
 		async_usleep(delay);
 	}
 }
-
 /*----------------------------------------------------------------------------*/
 /**
@@ -115,5 +110,5 @@
  *
  * Starts the loop for checking changes in auto-repeat.
- * 
+ *
  * @param arg User-specified argument. Expects pointer to the keyboard device
  *            structure representing the keyboard.
@@ -131,5 +126,5 @@
 	}
 
-	usb_kbd_t *kbd = (usb_kbd_t *)arg;
+	usb_kbd_t *kbd = arg;
 
 	usb_kbd_repeat_loop(kbd);
@@ -137,5 +132,4 @@
 	return EOK;
 }
-
 /*----------------------------------------------------------------------------*/
 /**
@@ -155,5 +149,4 @@
 	fibril_mutex_unlock(&kbd->repeat_mtx);
 }
-
 /*----------------------------------------------------------------------------*/
 /**
@@ -161,5 +154,5 @@
  *
  * @note Only one key is repeated at any time, but this function may be called
- *       even with key that is not currently repeated (in that case nothing 
+ *       even with key that is not currently repeated (in that case nothing
  *       happens).
  *
@@ -175,5 +168,4 @@
 	fibril_mutex_unlock(&kbd->repeat_mtx);
 }
-
 /**
  * @}
