summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2013-11-07 08:56:31 +0100
committerPete Batard <pete@akeo.ie>2013-12-28 23:08:16 +0000
commit28424b945cc5abed182f83ab3fc70676986d7cf3 (patch)
tree03eece2ef3afa5cdbd6de5d5c3358cb0aff5a131
parent7e3de5de095a493accc77081fb384be8e9144250 (diff)
downloadlibusb-28424b945cc5abed182f83ab3fc70676986d7cf3.tar.gz
Linux: Remove trailing whitespace
* Closes #157
-rw-r--r--libusb/os/linux_usbfs.c8
-rw-r--r--libusb/version_nano.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c
index 245d235..a95d099 100644
--- a/libusb/os/linux_usbfs.c
+++ b/libusb/os/linux_usbfs.c
@@ -49,7 +49,7 @@
* sysfs allows us to read the kernel's in-memory copies of device descriptors
* and so forth, avoiding the need to open the device:
* - The binary "descriptors" file contains all config descriptors since
- * 2.6.26, commit 217a9081d8e69026186067711131b77f0ce219ed
+ * 2.6.26, commit 217a9081d8e69026186067711131b77f0ce219ed
* - The binary "descriptors" file was added in 2.6.23, commit
* 69d42a78f935d19384d1f6e4f94b65bb162b36df, but it only contains the
* active config descriptors
@@ -576,7 +576,7 @@ static int sysfs_get_active_config(struct libusb_device *dev, int *config)
r = read(fd, tmp, sizeof(tmp));
close(fd);
if (r < 0) {
- usbi_err(DEVICE_CTX(dev),
+ usbi_err(DEVICE_CTX(dev),
"read bConfigurationValue failed ret=%d errno=%d", r, errno);
return LIBUSB_ERROR_IO;
} else if (r == 0) {
@@ -913,7 +913,7 @@ static int initialize_device(struct libusb_device *dev, uint8_t busnum,
}
priv->descriptors_len += r;
} while (priv->descriptors_len == descriptors_size);
-
+
close(fd);
if (priv->descriptors_len < DEVICE_DESC_LENGTH) {
@@ -1808,7 +1808,7 @@ static int submit_bulk_transfer(struct usbi_transfer *itransfer,
"submiturb failed error %d errno=%d", r, errno);
r = LIBUSB_ERROR_IO;
}
-
+
/* if the first URB submission fails, we can simply free up and
* return failure immediately. */
if (i == 0) {
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index d2ce690..c7f218d 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10855
+#define LIBUSB_NANO 10856