Index: uspace/lib/usb/include/usb/hc.h
===================================================================
--- uspace/lib/usb/include/usb/hc.h	(revision 7d5ef9447774b884f0e8d1011f19ba92f881725b)
+++ uspace/lib/usb/include/usb/hc.h	(revision 29e479f8863660d999177ae4fc92cd1f5cf5e8bf)
@@ -1,4 +1,5 @@
 /*
  * Copyright (c) 2011 Vojtech Horky
+ * Copyright (c) 2011 Jan Vesely
  * All rights reserved.
  *
@@ -26,5 +27,4 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-
 /** @addtogroup libusb
  * @{
@@ -36,10 +36,7 @@
 #define LIBUSB_HC_H_
 
-#include <sys/types.h>
-#include <ipc/devman.h>
-#include <ipc/loc.h>
+#include <devman.h>
 #include <ddf/driver.h>
 #include <bool.h>
-#include <async.h>
 #include <fibril_synch.h>
 #include <usb/usb.h>
@@ -77,5 +74,4 @@
 
 int usb_hc_connection_open(usb_hc_connection_t *);
-bool usb_hc_connection_is_open(const usb_hc_connection_t *);
 int usb_hc_connection_close(usb_hc_connection_t *);
 
Index: uspace/lib/usb/src/hc.c
===================================================================
--- uspace/lib/usb/src/hc.c	(revision 7d5ef9447774b884f0e8d1011f19ba92f881725b)
+++ uspace/lib/usb/src/hc.c	(revision 29e479f8863660d999177ae4fc92cd1f5cf5e8bf)
@@ -27,5 +27,4 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-
 /** @addtogroup libusb
  * @{
@@ -34,13 +33,11 @@
  * General communication with host controller driver (implementation).
  */
-#include <devman.h>
-#include <async.h>
-#include <dev_iface.h>
+#include <usb/debug.h>
+
+#include <assert.h>
+#include <errno.h>
 #include <usbhc_iface.h>
+#include <usb/dev.h>
 #include <usb/hc.h>
-#include <usb/debug.h>
-#include <usb/dev.h>
-#include <errno.h>
-#include <assert.h>
 
 static int usb_hc_connection_add_ref(usb_hc_connection_t *connection)
@@ -133,15 +130,4 @@
 }
 /*----------------------------------------------------------------------------*/
-/** Tells whether connection to host controller is opened.
- *
- * @param connection Connection to the host controller.
- * @return Whether connection is opened.
- */
-bool usb_hc_connection_is_open(const usb_hc_connection_t *connection)
-{
-	assert(connection);
-	return (connection->hc_sess != NULL);
-}
-/*----------------------------------------------------------------------------*/
 /** Close connection to the host controller.
  *
