From f330408d62ebffe166d2b1284b9f021129cfe125 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Mon, 23 Jul 2018 03:54:35 +0900 Subject: [PATCH] tree-wide: drop empty lines in comments --- src/boot/efi/measure.c | 2 -- src/boot/efi/measure.h | 2 -- src/boot/efi/stub.c | 1 - src/core/bpf-firewall.c | 1 - src/core/job.c | 1 - src/journal/fsprg.h | 1 - src/journal/journal-def.h | 1 - src/libsystemd/sd-hwdb/sd-hwdb.c | 1 - src/portable/portabled-image.c | 1 - src/resolve/resolved-dns-dnssec.c | 1 - src/shared/initreq.h | 2 +- src/shared/specifier.c | 1 - src/time-wait-sync/time-wait-sync.c | 1 - src/udev/ata_id/ata_id.c | 1 - src/udev/cdrom_id/cdrom_id.c | 2 -- src/udev/collect/collect.c | 1 - src/udev/scsi_id/scsi_id.c | 1 - src/udev/scsi_id/scsi_id.h | 1 - src/udev/scsi_id/scsi_serial.c | 1 - src/udev/udev-builtin-blkid.c | 1 - src/udev/udev-builtin-input_id.c | 1 - src/udev/udev-builtin-kmod.c | 1 - src/udev/udev-builtin-path_id.c | 2 -- src/udev/udev-builtin-uaccess.c | 2 -- src/udev/udev-builtin-usb_id.c | 2 -- src/udev/udev-ctrl.c | 1 - src/udev/udev-event.c | 3 --- src/udev/udev-node.c | 3 --- src/udev/udev-rules.c | 3 --- src/udev/udev-watch.c | 1 - src/udev/udev.h | 1 - src/udev/udevadm-control.c | 1 - src/udev/udevadm-info.c | 3 --- src/udev/udevadm-monitor.c | 3 --- src/udev/udevadm-settle.c | 1 - src/udev/udevadm-test-builtin.c | 3 --- src/udev/udevadm-test.c | 1 - src/udev/udevadm-trigger.c | 3 --- src/udev/udevadm-util.c | 3 --- src/udev/udevadm-util.h | 3 --- src/udev/udevadm.c | 3 --- src/udev/udevd.c | 1 - 42 files changed, 1 insertion(+), 68 deletions(-) diff --git a/src/boot/efi/measure.c b/src/boot/efi/measure.c index b6e3c44283..b8c8070341 100644 --- a/src/boot/efi/measure.c +++ b/src/boot/efi/measure.c @@ -1,6 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/* - */ #if ENABLE_TPM diff --git a/src/boot/efi/measure.h b/src/boot/efi/measure.h index 99cf3b3fbd..e04ee127a3 100644 --- a/src/boot/efi/measure.h +++ b/src/boot/efi/measure.h @@ -1,6 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/* - */ #ifndef __SDBOOT_MEASURE_H #define __SDBOOT_MEASURE_H diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c index 4318a054a4..15cdfca2a3 100644 --- a/src/boot/efi/stub.c +++ b/src/boot/efi/stub.c @@ -3,7 +3,6 @@ * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. - * */ #include diff --git a/src/core/bpf-firewall.c b/src/core/bpf-firewall.c index 8b66ef73dc..187fed12b2 100644 --- a/src/core/bpf-firewall.c +++ b/src/core/bpf-firewall.c @@ -661,7 +661,6 @@ int bpf_firewall_supported(void) { * c) the BPF implementation in the kernel supports BPF LPM TRIE maps, which we require * d) the BPF implementation in the kernel supports BPF_PROG_TYPE_CGROUP_SKB programs, which we require * e) the BPF implementation in the kernel supports the BPF_PROG_ATTACH call, which we require - * */ if (supported >= 0) diff --git a/src/core/job.c b/src/core/job.c index 2f37ff5bac..6c62cdf595 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -1366,7 +1366,6 @@ bool job_may_gc(Job *j) { * we start + other stop → gc * we stop + other start → stay * we stop + other stop → stay - * */ return true; diff --git a/src/journal/fsprg.h b/src/journal/fsprg.h index bf78c3e9c3..fc95b3be7c 100644 --- a/src/journal/fsprg.h +++ b/src/journal/fsprg.h @@ -22,7 +22,6 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301 USA - * */ #include diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h index 43f70c861a..e48260206f 100644 --- a/src/journal/journal-def.h +++ b/src/journal/journal-def.h @@ -10,7 +10,6 @@ * If you change this file you probably should also change its documentation: * * http://www.freedesktop.org/wiki/Software/systemd/journal-files - * */ typedef struct Header Header; diff --git a/src/libsystemd/sd-hwdb/sd-hwdb.c b/src/libsystemd/sd-hwdb/sd-hwdb.c index 5c612d9a2f..6017784074 100644 --- a/src/libsystemd/sd-hwdb/sd-hwdb.c +++ b/src/libsystemd/sd-hwdb/sd-hwdb.c @@ -147,7 +147,6 @@ static int hwdb_add_property(sd_hwdb *hwdb, const struct trie_value_entry_f *ent old = ordered_hashmap_get(hwdb->properties, key); if (old) { /* On duplicates, we order by filename priority and line-number. - * * * v2 of the format had 64 bits for the line number. * v3 reuses top 32 bits of line_number to store the priority. diff --git a/src/portable/portabled-image.c b/src/portable/portabled-image.c index c58197c9a6..a6b3f52e99 100644 --- a/src/portable/portabled-image.c +++ b/src/portable/portabled-image.c @@ -58,7 +58,6 @@ int manager_image_cache_add(Manager *m, Image *image) { * * 2. If the image was discovered in the search path (i.e. its discoverable boolean set) we'll also add it * under its short name. - * */ r = manager_image_cache_initialize(m); diff --git a/src/resolve/resolved-dns-dnssec.c b/src/resolve/resolved-dns-dnssec.c index 0a6f482cc1..e0d70c29cb 100644 --- a/src/resolve/resolved-dns-dnssec.c +++ b/src/resolve/resolved-dns-dnssec.c @@ -2143,7 +2143,6 @@ static int dnssec_test_positive_wildcard_nsec( * 3) b.c.d.e.f * 4) *.c.d.e.f * 5) c.d.e.f - * */ for (;;) { diff --git a/src/shared/initreq.h b/src/shared/initreq.h index 9b19b5d729..e3ab3032cb 100644 --- a/src/shared/initreq.h +++ b/src/shared/initreq.h @@ -9,8 +9,8 @@ * version 2 of the License, or (at your option) any later version. * * Version: @(#)initreq.h 1.28 31-Mar-2004 MvS - * */ + #ifndef _INITREQ_H #define _INITREQ_H diff --git a/src/shared/specifier.c b/src/shared/specifier.c index d698b42e07..b5f22c8d1e 100644 --- a/src/shared/specifier.c +++ b/src/shared/specifier.c @@ -21,7 +21,6 @@ /* * Generic infrastructure for replacing %x style specifiers in * strings. Will call a callback for each replacement. - * */ /* Any ASCII character or digit: our pool of potential specifiers, diff --git a/src/time-wait-sync/time-wait-sync.c b/src/time-wait-sync/time-wait-sync.c index 90efe2bc19..e359e35e49 100644 --- a/src/time-wait-sync/time-wait-sync.c +++ b/src/time-wait-sync/time-wait-sync.c @@ -1,7 +1,6 @@ /* * systemd service to wait until kernel realtime clock is synchronized * - * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 diff --git a/src/udev/ata_id/ata_id.c b/src/udev/ata_id/ata_id.c index f3f76c16d2..b08588baf7 100644 --- a/src/udev/ata_id/ata_id.c +++ b/src/udev/ata_id/ata_id.c @@ -3,7 +3,6 @@ * ata_id - reads product/serial number from ATA drives * * Copyright © 2009-2010 David Zeuthen - * */ #include diff --git a/src/udev/cdrom_id/cdrom_id.c b/src/udev/cdrom_id/cdrom_id.c index 1aaa263f76..ee75bca37c 100644 --- a/src/udev/cdrom_id/cdrom_id.c +++ b/src/udev/cdrom_id/cdrom_id.c @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* * cdrom_id - optical drive and media information prober - * - * */ #include diff --git a/src/udev/collect/collect.c b/src/udev/collect/collect.c index a88dedd002..82b8354763 100644 --- a/src/udev/collect/collect.c +++ b/src/udev/collect/collect.c @@ -17,7 +17,6 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. - * */ #include diff --git a/src/udev/scsi_id/scsi_id.c b/src/udev/scsi_id/scsi_id.c index 5caab7774f..1600666730 100644 --- a/src/udev/scsi_id/scsi_id.c +++ b/src/udev/scsi_id/scsi_id.c @@ -2,7 +2,6 @@ /* * Copyright © IBM Corp. 2003 * Copyright © SUSE Linux Products GmbH, 2006 - * */ #include diff --git a/src/udev/scsi_id/scsi_id.h b/src/udev/scsi_id/scsi_id.h index 1222f250ec..14e1663990 100644 --- a/src/udev/scsi_id/scsi_id.h +++ b/src/udev/scsi_id/scsi_id.h @@ -3,7 +3,6 @@ /* * Copyright © IBM Corp. 2003 - * */ #define MAX_PATH_LEN 512 diff --git a/src/udev/scsi_id/scsi_serial.c b/src/udev/scsi_id/scsi_serial.c index fd91657a32..7329ae0682 100644 --- a/src/udev/scsi_id/scsi_serial.c +++ b/src/udev/scsi_id/scsi_serial.c @@ -3,7 +3,6 @@ * Copyright © IBM Corp. 2003 * * Author: Patrick Mansfield - * */ #include diff --git a/src/udev/udev-builtin-blkid.c b/src/udev/udev-builtin-blkid.c index 477b7ef61f..202efda3fe 100644 --- a/src/udev/udev-builtin-blkid.c +++ b/src/udev/udev-builtin-blkid.c @@ -3,7 +3,6 @@ * probe disks for filesystems and partitions * * Copyright © 2011 Karel Zak - * */ #include diff --git a/src/udev/udev-builtin-input_id.c b/src/udev/udev-builtin-input_id.c index e428003ddc..f7616987ab 100644 --- a/src/udev/udev-builtin-input_id.c +++ b/src/udev/udev-builtin-input_id.c @@ -4,7 +4,6 @@ * * Portions Copyright © 2004 David Zeuthen, * Copyright © 2014 Carlos Garnacho - * */ #include diff --git a/src/udev/udev-builtin-kmod.c b/src/udev/udev-builtin-kmod.c index 5e9fd0ce43..f148d9c5f6 100644 --- a/src/udev/udev-builtin-kmod.c +++ b/src/udev/udev-builtin-kmod.c @@ -3,7 +3,6 @@ * load kernel modules * * Copyright © 2011 ProFUSION embedded systems - * */ #include diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c index 36f1949c7b..1688cae238 100644 --- a/src/udev/udev-builtin-path_id.c +++ b/src/udev/udev-builtin-path_id.c @@ -2,9 +2,7 @@ /* * compose persistent device path * - * * Logic based on Hannes Reinecke's shell script. - * */ #include diff --git a/src/udev/udev-builtin-uaccess.c b/src/udev/udev-builtin-uaccess.c index b1191ae7ff..4ddd89dbb1 100644 --- a/src/udev/udev-builtin-uaccess.c +++ b/src/udev/udev-builtin-uaccess.c @@ -1,8 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* * manage device node user ACL - * - * */ #include diff --git a/src/udev/udev-builtin-usb_id.c b/src/udev/udev-builtin-usb_id.c index dcf21a2f44..97548e92ed 100644 --- a/src/udev/udev-builtin-usb_id.c +++ b/src/udev/udev-builtin-usb_id.c @@ -4,8 +4,6 @@ * * Copyright (c) 2005 SUSE Linux Products GmbH, Germany * Author: Hannes Reinecke - * - * */ #include diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c index efe7297f04..420e841764 100644 --- a/src/udev/udev-ctrl.c +++ b/src/udev/udev-ctrl.c @@ -2,7 +2,6 @@ * * libudev - interface to udev device information * - * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index fd8406d959..541aac2c3f 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udev-node.c b/src/udev/udev-node.c index 333dcae6b9..c3bfe8b00c 100644 --- a/src/udev/udev-node.c +++ b/src/udev/udev-node.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index f029395884..f9eff70295 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udev-watch.c b/src/udev/udev-watch.c index 7864f57aa5..1ae89334bb 100644 --- a/src/udev/udev-watch.c +++ b/src/udev/udev-watch.c @@ -2,7 +2,6 @@ /* * Copyright © 2009 Canonical Ltd. * Copyright © 2009 Scott James Remnant - * */ #include diff --git a/src/udev/udev.h b/src/udev/udev.h index 4596d0ea01..778d5c4174 100644 --- a/src/udev/udev.h +++ b/src/udev/udev.h @@ -3,7 +3,6 @@ /* * Copyright © 2003 Greg Kroah-Hartman - * */ #include diff --git a/src/udev/udevadm-control.c b/src/udev/udevadm-control.c index a84cc156cb..7f89d4f536 100644 --- a/src/udev/udevadm-control.c +++ b/src/udev/udevadm-control.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* - * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c index ff41290478..e0c110135a 100644 --- a/src/udev/udevadm-info.c +++ b/src/udev/udevadm-info.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udevadm-monitor.c b/src/udev/udevadm-monitor.c index b1e13553dc..d44b1fe521 100644 --- a/src/udev/udevadm-monitor.c +++ b/src/udev/udevadm-monitor.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c index b8d428bcb4..33173522fe 100644 --- a/src/udev/udevadm-settle.c +++ b/src/udev/udevadm-settle.c @@ -2,7 +2,6 @@ /* * Copyright © 2009 Canonical Ltd. * Copyright © 2009 Scott James Remnant - * */ #include diff --git a/src/udev/udevadm-test-builtin.c b/src/udev/udevadm-test-builtin.c index 0d6cd46bd7..c19ba4b45f 100644 --- a/src/udev/udevadm-test-builtin.c +++ b/src/udev/udevadm-test-builtin.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c index e3d85597a8..73bb2124fc 100644 --- a/src/udev/udevadm-test.c +++ b/src/udev/udevadm-test.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright © 2003-2004 Greg Kroah-Hartman - * */ #include diff --git a/src/udev/udevadm-trigger.c b/src/udev/udevadm-trigger.c index 9c07a51869..21c43af18a 100644 --- a/src/udev/udevadm-trigger.c +++ b/src/udev/udevadm-trigger.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udevadm-util.c b/src/udev/udevadm-util.c index c570b72b8e..0e8a820a56 100644 --- a/src/udev/udevadm-util.c +++ b/src/udev/udevadm-util.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include "path-util.h" #include "string-util.h" diff --git a/src/udev/udevadm-util.h b/src/udev/udevadm-util.h index 0b426e09f6..f843e60c61 100644 --- a/src/udev/udevadm-util.h +++ b/src/udev/udevadm-util.h @@ -1,9 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0+ */ #pragma once -/* - */ - #include "udev.h" struct udev_device *find_device(struct udev *udev, diff --git a/src/udev/udevadm.c b/src/udev/udevadm.c index 0b79d2f91d..a4d3c6e77f 100644 --- a/src/udev/udevadm.c +++ b/src/udev/udevadm.c @@ -1,7 +1,4 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -/* - * - */ #include #include diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 34f6a95503..264a91a32a 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -3,7 +3,6 @@ * Copyright © 2004 Chris Friesen * Copyright © 2009 Canonical Ltd. * Copyright © 2009 Scott James Remnant - * */ #include