summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-04-20 15:32:18 +0100
committerPete Batard <pbatard@gmail.com>2010-04-20 15:32:18 +0100
commit6fe25e5742a4971736d3682873458ab75353e83c (patch)
treebffcb7cb6bfb3adb7667216a77889c4fd6c38ce2
parente3d7fc014b60300c91f737248bacdc2c6e8eda12 (diff)
downloadlibusb-6fe25e5742a4971736d3682873458ab75353e83c.tar.gz
residuals from previous merger267
-rw-r--r--libusb/os/darwin_usb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index 3411554..8a6d8ee 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -547,9 +547,6 @@ static int process_new_device (struct libusb_context *ctx, usb_device_t **device
if (need_unref)
libusb_unref_device(dev);
- if (need_unref)
- libusb_unref_device(dev);
-
return 0;
}