mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] scsi: remove CDROM not ready printk
@ 2008-05-27 19:02 Jerry Stralko
  2008-05-29  7:41 ` Andrew Morton
  0 siblings, 1 reply; 9+ messages in thread
From: Jerry Stralko @ 2008-05-27 19:02 UTC (permalink / raw)
  To: scsi; +Cc: linux-kernel

Hello,
   This printk was spamming my dmesg and /var/log/message.  Is there a 
reason we have this printk?  Can we simply remove it?


Signed-off-by: Jerry Stralko <gerb.stralko@gmail.com>
---


diff --git a/drivers/scsi/sr_ioctl.c b/drivers/scsi/sr_ioctl.c
index ae87d08..c37fb1c 100644
--- a/drivers/scsi/sr_ioctl.c
+++ b/drivers/scsi/sr_ioctl.c
@@ -238,8 +238,6 @@ int sr_do_ioctl(Scsi_CD *cd, struct packet_command *cgc)
  					break;
  				}
  			}
-			if (!cgc->quiet)
-				printk(KERN_INFO "%s: CDROM not ready.  Make sure there is a disc in the drive.\n", cd->cdi.name);
  #ifdef DEBUG
  			scsi_print_sense_hdr("sr", &sshdr);
  #endif

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-06-02  0:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-27 19:02 [PATCH] scsi: remove CDROM not ready printk Jerry Stralko
2008-05-29  7:41 ` Andrew Morton
2008-05-29 14:05   ` James Bottomley
2008-05-29 14:35     ` Gerb Stralko
2008-05-29 14:51       ` Matthew Wilcox
2008-05-29 14:55       ` James Bottomley
2008-05-29 15:04         ` Gerb Stralko
2008-05-29 15:22           ` James Bottomley
2008-06-02  0:45             ` Gerb Stralko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®