aboutsummaryrefslogtreecommitdiff
path: root/libjaylink/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'libjaylink/device.c')
-rw-r--r--libjaylink/device.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libjaylink/device.c b/libjaylink/device.c
index a02585c..d954563 100644
--- a/libjaylink/device.c
+++ b/libjaylink/device.c
@@ -528,7 +528,6 @@ static void free_device_handle(struct jaylink_device_handle *devh)
* @retval JAYLINK_ERR_ARG Invalid arguments.
* @retval JAYLINK_ERR_TIMEOUT A timeout occurred.
* @retval JAYLINK_ERR_MALLOC Memory allocation error.
- * @retval JAYLINK_ERR_NOT_SUPPORTED Operation not supported.
* @retval JAYLINK_ERR_IO Input/output error.
* @retval JAYLINK_ERR Other error conditions.
*
@@ -543,9 +542,6 @@ JAYLINK_API int jaylink_open(struct jaylink_device *dev,
if (!dev || !devh)
return JAYLINK_ERR_ARG;
- if (dev->interface != JAYLINK_HIF_USB)
- return JAYLINK_ERR_NOT_SUPPORTED;
-
handle = allocate_device_handle(dev);
if (!handle) {