{
struct stlink_usb_handle *h = handle;
- assert(handle != NULL);
+ assert(handle);
if (!(h->version.flags & STLINK_F_HAS_MEM_RD_NO_INC))
return ERROR_COMMAND_NOTFOUND;
{
struct stlink_usb_handle *h = handle;
- assert(handle != NULL);
+ assert(handle);
if (!(h->version.flags & STLINK_F_HAS_MEM_WR_NO_INC))
return ERROR_COMMAND_NOTFOUND;
LOG_DEBUG_IO("%s(%" PRIu32 ")", __func__, items);
- assert(handle != NULL);
+ assert(handle);
if (!(h->version.flags & STLINK_F_HAS_RW_MISC))
return ERROR_COMMAND_NOTFOUND;
LOG_DEBUG_IO("%s(%" PRIu32 ")", __func__, items);
- assert(handle != NULL);
+ assert(handle);
if (!(h->version.flags & STLINK_F_HAS_RW_MISC))
return ERROR_COMMAND_NOTFOUND;