Skip to contentSkip to conversation

block: Remove commented out code

PATCH Applied Thorsten Blum 3 participants 3 messages Feb 19, 2025 – Feb 22, 2025 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Remove commented out code

Remove commented out code.

---
 block/partitions/sgi.c | 2 --
 block/partitions/sun.c | 2 --
 2 files changed, 4 deletions(-)
block/partitions/sgi.c +0 -2
index 9cc6b8c1eea4..b5ecddd5181a 100644
@@ -50,8 +50,6 @@ int sgi_partition(struct parsed_partitions *state)
 	p = &label->partitions[0];
 	magic = label->magic_mushroom;
 	if(be32_to_cpu(magic) != SGI_LABEL_MAGIC) {
-		/*printk("Dev %s SGI disklabel: bad magic %08x\n",
-		       state->disk->disk_name, be32_to_cpu(magic));*/
 		put_dev_sector(sect);
 		return 0;
 	}
block/partitions/sun.c +0 -2
index ddf9e6def4b2..2419af76120f 100644
@@ -74,8 +74,6 @@ int sun_partition(struct parsed_partitions *state)
 
 	p = label->partitions;
 	if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) {
-/*		printk(KERN_INFO "Dev %s Sun disklabel: bad magic %04x\n",
-		       state->disk->disk_name, be16_to_cpu(label->magic)); */
 		put_dev_sector(sect);
 		return 0;
 	}
Signature · 1 line
2.48.1
maintainer Applied
#2 lore raw
In reply to Thorsten Blum
Quoted 3 lines · Thorsten Blum

Remove commented out code.

Applied, thanks!

[1/1] block: Remove commented out code

      commit: 8985c4298733a56d38c11948dc3b1dd24f4fcd6b

Best regards,

Signature · 1 line
Jens Axboe