Changeset 29e479f in mainline for uspace/lib/usb/src/hc.c


Ignore:
Timestamp:
2011-12-11T17:16:41Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c046942
Parents:
7d5ef94
Message:

libusb: Remove unused function, cleanup includes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hc.c

    r7d5ef94 r29e479f  
    2727 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2828 */
    29 
    3029/** @addtogroup libusb
    3130 * @{
     
    3433 * General communication with host controller driver (implementation).
    3534 */
    36 #include <devman.h>
    37 #include <async.h>
    38 #include <dev_iface.h>
     35#include <usb/debug.h>
     36
     37#include <assert.h>
     38#include <errno.h>
    3939#include <usbhc_iface.h>
     40#include <usb/dev.h>
    4041#include <usb/hc.h>
    41 #include <usb/debug.h>
    42 #include <usb/dev.h>
    43 #include <errno.h>
    44 #include <assert.h>
    4542
    4643static int usb_hc_connection_add_ref(usb_hc_connection_t *connection)
     
    133130}
    134131/*----------------------------------------------------------------------------*/
    135 /** Tells whether connection to host controller is opened.
    136  *
    137  * @param connection Connection to the host controller.
    138  * @return Whether connection is opened.
    139  */
    140 bool usb_hc_connection_is_open(const usb_hc_connection_t *connection)
    141 {
    142         assert(connection);
    143         return (connection->hc_sess != NULL);
    144 }
    145 /*----------------------------------------------------------------------------*/
    146132/** Close connection to the host controller.
    147133 *
Note: See TracChangeset for help on using the changeset viewer.