|
|
572a44 |
From 9d175ba1edccb9e7e1d9d2994c3c074f43ea2539 Mon Sep 17 00:00:00 2001
|
|
|
572a44 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
572a44 |
Date: Sat, 30 Nov 2013 20:27:54 -0500
|
|
|
572a44 |
Subject: [PATCH] docs: remove unneeded the's in gudev docs
|
|
|
572a44 |
|
|
|
572a44 |
https://bugs.freedesktop.org/show_bug.cgi?id=72164
|
|
|
572a44 |
---
|
|
|
572a44 |
src/libudev/libudev-device.c | 10 ++++------
|
|
|
572a44 |
1 file changed, 4 insertions(+), 6 deletions(-)
|
|
|
572a44 |
|
|
|
572a44 |
diff --git a/src/libudev/libudev-device.c b/src/libudev/libudev-device.c
|
|
|
572a44 |
index a644904..161181a 100644
|
|
|
572a44 |
--- a/src/libudev/libudev-device.c
|
|
|
572a44 |
+++ b/src/libudev/libudev-device.c
|
|
|
572a44 |
@@ -980,9 +980,8 @@ static struct udev_device *device_new_from_parent(struct udev_device *udev_devic
|
|
|
572a44 |
* Find the next parent device, and fill in information from the sys
|
|
|
572a44 |
* device and the udev database entry.
|
|
|
572a44 |
*
|
|
|
572a44 |
- * The returned the device is not referenced. It is attached to the
|
|
|
572a44 |
- * child device, and will be cleaned up when the child device
|
|
|
572a44 |
- * is cleaned up.
|
|
|
572a44 |
+ * Returned device is not referenced. It is attached to the child
|
|
|
572a44 |
+ * device, and will be cleaned up when the child device is cleaned up.
|
|
|
572a44 |
*
|
|
|
572a44 |
* It is not necessarily just the upper level directory, empty or not
|
|
|
572a44 |
* recognized sys directories are ignored.
|
|
|
572a44 |
@@ -1016,9 +1015,8 @@ _public_ struct udev_device *udev_device_get_parent(struct udev_device *udev_dev
|
|
|
572a44 |
* If devtype is #NULL, only subsystem is checked, and any devtype will
|
|
|
572a44 |
* match.
|
|
|
572a44 |
*
|
|
|
572a44 |
- * The returned the device is not referenced. It is attached to the
|
|
|
572a44 |
- * child device, and will be cleaned up when the child device
|
|
|
572a44 |
- * is cleaned up.
|
|
|
572a44 |
+ * Returned device is not referenced. It is attached to the child
|
|
|
572a44 |
+ * device, and will be cleaned up when the child device is cleaned up.
|
|
|
572a44 |
*
|
|
|
572a44 |
* It can be called as many times as needed, without caring about
|
|
|
572a44 |
* references.
|