|
|
|
@ -618,7 +618,6 @@ int libztex_sendHashData(struct libztex_device *ztex, unsigned char *sendbuf)
@@ -618,7 +618,6 @@ int libztex_sendHashData(struct libztex_device *ztex, unsigned char *sendbuf)
|
|
|
|
|
ret -= cnt; |
|
|
|
|
len += cnt; |
|
|
|
|
} else |
|
|
|
|
if (cnt != LIBUSB_ERROR_TIMEOUT) |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
if (unlikely(cnt < 0)) |
|
|
|
@ -647,7 +646,6 @@ int libztex_readHashData(struct libztex_device *ztex, struct libztex_hash_data n
@@ -647,7 +646,6 @@ int libztex_readHashData(struct libztex_device *ztex, struct libztex_hash_data n
|
|
|
|
|
ret -= cnt; |
|
|
|
|
len += cnt; |
|
|
|
|
} else |
|
|
|
|
if (cnt != LIBUSB_ERROR_TIMEOUT) |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|