Changeset 205261f in mainline for uspace/lib/drv/generic/remote_usb.c


Ignore:
Timestamp:
2013-07-24T17:47:05Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e242fba
Parents:
69b264a9
Message:

libdrv, usb: Remove redundant NULL check

async_req is NULL safe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usb.c

    r69b264a9 r205261f  
    8787int usb_get_my_address(async_exch_t *exch, usb_address_t *address)
    8888{
    89         if (!exch)
    90                 return EBADMEM;
    9189        sysarg_t addr;
    9290        const int ret = async_req_1_1(exch, DEV_IFACE_ID(USB_DEV_IFACE),
Note: See TracChangeset for help on using the changeset viewer.