From: Kay Sievers Date: Tue, 15 Feb 2011 21:27:33 +0000 (+0100) Subject: update some comments X-Git-Tag: 174~250 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=0c19cc73da6cfab32214e8622b17d87be00e7d4e;p=elogind.git update some comments --- diff --git a/libudev/libudev-enumerate.c b/libudev/libudev-enumerate.c index 9694797d3..128813c7d 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 8b9082921..0447804c9 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' },