]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
block: Remove commented out code
authorThorsten Blum <thorsten.blum@linux.dev>
Wed, 19 Feb 2025 20:53:25 +0000 (21:53 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 22 Feb 2025 00:12:21 +0000 (17:12 -0700)
Remove commented out code.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250219205328.28462-2-thorsten.blum@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/sgi.c
block/partitions/sun.c

index 9cc6b8c1eea4641423516db485d6034c8eae7015..b5ecddd5181a137df9eda411575962c4031c6dc4 100644 (file)
@@ -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;
        }
index ddf9e6def4b2a24effaf60907b8a9143615e62e6..2419af76120f56e868ffd7078e566515cefb74a5 100644 (file)
@@ -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;
        }