]> sigrok.org Git - libsigrok.git/blobdiff - device.c
All drivers: Drop unneeded comments.
[libsigrok.git] / device.c
index 26e34c95e7791d02012e6d5cfd30d1e8e9ccc18a..0050e97e2561d7b33ea1dc0d339d53ec47c1a93b 100644 (file)
--- a/device.c
+++ b/device.c
 
 #include <stdio.h>
 #include <glib.h>
+#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
 #include "libsigrok.h"
 #include "libsigrok-internal.h"
 
+/**
+ * @file
+ *
+ * Device handling in libsigrok.
+ */
+
 /**
  * @defgroup grp_devices Devices
  *
@@ -261,7 +268,6 @@ SR_PRIV struct sr_usb_dev_inst *sr_usb_dev_inst_new(uint8_t bus,
 /** @private */
 SR_PRIV void sr_usb_dev_inst_free(struct sr_usb_dev_inst *usb)
 {
-       /* Avoid compiler warnings. */
        (void)usb;
 
        /* Nothing to do for this device instance type. */