From 0c19cc73da6cfab32214e8622b17d87be00e7d4e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 15 Feb 2011 22:27:33 +0100 Subject: [PATCH] update some comments --- libudev/libudev-enumerate.c | 3 +-- udev/udevadm-control.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libudev/libudev-enumerate.c b/libudev/libudev-enumerate.c index 9694797d..128813c7 100644 --- a/libudev/libudev-enumerate.c +++ b/libudev/libudev-enumerate.c @@ -274,8 +274,7 @@ struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enumerate *ude /* skip to be delayed devices, and add them to the end of the list */ if (devices_delay_end(udev_enumerate->udev, entry->syspath)) { syspath_add(udev_enumerate, entry->syspath); - /* need to update prev here for the case realloc() gives - a different address */ + /* need to update prev here for the case realloc() gives a different address */ prev = &udev_enumerate->devices[i]; continue; } diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c index 8b908292..0447804c 100644 --- a/udev/udevadm-control.c +++ b/udev/udevadm-control.c @@ -44,7 +44,6 @@ int udevadm_control(struct udev *udev, int argc, char *argv[]) struct udev_ctrl *uctrl = NULL; int rc = 1; - /* compat values with '_' will be removed in a future release */ static const struct option options[] = { { "log-priority", required_argument, NULL, 'l' }, { "stop-exec-queue", no_argument, NULL, 's' }, -- 2.39.5