[SCSI] mptctl : Remove printk which floods unnecessary messages to var/log/message
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
a0b7736828
commit
e39e145dfb
|
@ -621,11 +621,8 @@ __mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
||||||
*/
|
*/
|
||||||
iocnumX = khdr.iocnum & 0xFF;
|
iocnumX = khdr.iocnum & 0xFF;
|
||||||
if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) ||
|
if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) ||
|
||||||
(iocp == NULL)) {
|
(iocp == NULL))
|
||||||
printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - ioc%d not found!\n",
|
|
||||||
__FILE__, __LINE__, iocnumX);
|
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
|
||||||
|
|
||||||
if (!iocp->active) {
|
if (!iocp->active) {
|
||||||
printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - Controller disabled.\n",
|
printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - Controller disabled.\n",
|
||||||
|
|
Loading…
Reference in New Issue