Commit 2624f98a authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[PATCH] kill excessive cdrom prints

Don't know where this came from, but dumping this on every open gets boring
really quickly.
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5789113d
...@@ -868,13 +868,11 @@ static void cdrom_mmc3_profile(struct cdrom_device_info *cdi) ...@@ -868,13 +868,11 @@ static void cdrom_mmc3_profile(struct cdrom_device_info *cdi)
cgc.cmd[8] = sizeof(buffer); /* Allocation Length */ cgc.cmd[8] = sizeof(buffer); /* Allocation Length */
cgc.quiet = 1; cgc.quiet = 1;
if ((ret = cdi->ops->generic_packet(cdi, &cgc))) { if ((ret = cdi->ops->generic_packet(cdi, &cgc)))
mmc3_profile = 0xffff; mmc3_profile = 0xffff;
} else { else
mmc3_profile = (buffer[6] << 8) | buffer[7]; mmc3_profile = (buffer[6] << 8) | buffer[7];
printk(KERN_INFO "cdrom: %s: mmc-3 profile capable, current profile: %Xh\n",
cdi->name, mmc3_profile);
}
cdi->mmc3_profile = mmc3_profile; cdi->mmc3_profile = mmc3_profile;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment