aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/dmesg.c1
-rw-r--r--util-linux/lspci.c1
-rw-r--r--util-linux/volume_id/unused_lvm.c1
3 files changed, 0 insertions, 3 deletions
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)
91 if (len == 0) 91 if (len == 0)
92 return EXIT_SUCCESS; 92 return EXIT_SUCCESS;
93 93
94
95 if (ENABLE_FEATURE_DMESG_PRETTY && !(opts & OPT_r)) { 94 if (ENABLE_FEATURE_DMESG_PRETTY && !(opts & OPT_r)) {
96 int last = '\n'; 95 int last = '\n';
97 int in = 0; 96 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,
81 } 81 }
82 config_close(parser); 82 config_close(parser);
83 83
84
85 if (option_mask32 & OPT_m) { 84 if (option_mask32 & OPT_m) {
86 printf("%s \"Class %04x\" \"%04x\" \"%04x\" \"%04x\" \"%04x\"", 85 printf("%s \"Class %04x\" \"%04x\" \"%04x\" \"%04x\" \"%04x\"",
87 pci_slot_name, pci_class, pci_vid, pci_did, 86 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)
74 if (buf == NULL) 74 if (buf == NULL)
75 return -1; 75 return -1;
76 76
77
78 for (soff = 0; soff < LVM2LABEL_SCAN_SECTORS * 0x200; soff += 0x200) { 77 for (soff = 0; soff < LVM2LABEL_SCAN_SECTORS * 0x200; soff += 0x200) {
79 lvm = (struct lvm2_super_block *) &buf[soff]; 78 lvm = (struct lvm2_super_block *) &buf[soff];
80 79