From 391fdea73b73673410c5e267ec08efd45b3f38ee Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 7 Feb 2026 21:17:07 +0100 Subject: *: whitespace cleanup Signed-off-by: Denys Vlasenko --- archival/libarchive/lzo1x_9x.c | 2 -- archival/lzop.c | 1 - loginutils/add-remove-shell.c | 1 - miscutils/devfsd.c | 1 - util-linux/dmesg.c | 1 - util-linux/lspci.c | 1 - util-linux/volume_id/unused_lvm.c | 1 - 7 files changed, 8 deletions(-) diff --git a/archival/libarchive/lzo1x_9x.c b/archival/libarchive/lzo1x_9x.c index df26b375f..2c405b636 100644 --- a/archival/libarchive/lzo1x_9x.c +++ b/archival/libarchive/lzo1x_9x.c @@ -797,7 +797,6 @@ static int lzo1x_999_compress_internal(const uint8_t *in, unsigned in_len, if (swd->use_best_off) better_match(swd, &m_len, &m_off); #endif - /* shall we try a lazy match ? */ ahead = 0; if (m_len >= max_lazy) { @@ -811,7 +810,6 @@ static int lzo1x_999_compress_internal(const uint8_t *in, unsigned in_len, max_ahead = LZO_MIN(2, (unsigned)l1 - 1); } - while (ahead < max_ahead && c->look > m_len) { int lazy_match_min_gain; diff --git a/archival/lzop.c b/archival/lzop.c index bdcc6d548..98587e8dd 100644 --- a/archival/lzop.c +++ b/archival/lzop.c @@ -208,7 +208,6 @@ static NOINLINE int lzo1x_optimize(uint8_t *in, unsigned in_len, lit = 0; goto match_done; - /* handle matches */ do { if (t < 16) { /* a M1 match */ diff --git a/loginutils/add-remove-shell.c b/loginutils/add-remove-shell.c index 2470050e7..ff54ab5db 100644 --- a/loginutils/add-remove-shell.c +++ b/loginutils/add-remove-shell.c @@ -64,7 +64,6 @@ int add_remove_shell_main(int argc UNUSED_PARAM, char **argv) if (orig_fp) xfstat(fileno(orig_fp), &sb, orig_fn); - new_fn = xasprintf("%s.tmp", orig_fn); /* * O_TRUNC or O_EXCL? At the first glance, O_EXCL looks better, diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c index 642cd3637..d57691414 100644 --- a/miscutils/devfsd.c +++ b/miscutils/devfsd.c @@ -962,7 +962,6 @@ static void action_compat(const struct devfsd_notify_struct *info, unsigned int dest_name = dest_buf; compat_name = compat_buf; - /* 1 == scsi/generic 2 == scsi/disc 3 == scsi/cd 6 == ide/host/disc 7 == ide/host/cd */ if (i == 1 || i == 2 || i == 3 || i == 6 || i ==7) sprintf(compat_buf, fmt[i], host, bus, target, lun); diff --git a/util-linux/dmesg.c b/util-linux/dmesg.c index 5d8f01a64..39eecc345 100644 --- a/util-linux/dmesg.c +++ b/util-linux/dmesg.c @@ -91,7 +91,6 @@ int dmesg_main(int argc UNUSED_PARAM, char **argv) if (len == 0) return EXIT_SUCCESS; - if (ENABLE_FEATURE_DMESG_PRETTY && !(opts & OPT_r)) { int last = '\n'; int in = 0; diff --git a/util-linux/lspci.c b/util-linux/lspci.c index 25be23a01..1a43f71e2 100644 --- a/util-linux/lspci.c +++ b/util-linux/lspci.c @@ -81,7 +81,6 @@ static int FAST_FUNC fileAction(struct recursive_state *state UNUSED_PARAM, } config_close(parser); - if (option_mask32 & OPT_m) { printf("%s \"Class %04x\" \"%04x\" \"%04x\" \"%04x\" \"%04x\"", pci_slot_name, pci_class, pci_vid, pci_did, diff --git a/util-linux/volume_id/unused_lvm.c b/util-linux/volume_id/unused_lvm.c index 649306c85..512aa7962 100644 --- a/util-linux/volume_id/unused_lvm.c +++ b/util-linux/volume_id/unused_lvm.c @@ -74,7 +74,6 @@ int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off) if (buf == NULL) return -1; - for (soff = 0; soff < LVM2LABEL_SCAN_SECTORS * 0x200; soff += 0x200) { lvm = (struct lvm2_super_block *) &buf[soff]; -- cgit v1.2.3-55-g6feb