Index: uspace/lib/usb/src/hc.c
===================================================================
--- uspace/lib/usb/src/hc.c	(revision 7d5ef9447774b884f0e8d1011f19ba92f881725b)
+++ uspace/lib/usb/src/hc.c	(revision c6d5f08ae8fe6fcf8e26e723bfdff717520b49c7)
@@ -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.
  *
