OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b7736
)
[SCSI] mptctl : Remove printk which floods unnecessary messages to var/log/message
author
Kashyap, Desai
<kashyap.desai@lsi.com>
Wed, 7 Oct 2009 05:56:54 +0000
(11:26 +0530)
committer
James Bottomley
<James.Bottomley@suse.de>
Thu, 29 Oct 2009 17:03:23 +0000
(13:03 -0400)
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptctl.c
patch
|
blob
|
history
diff --git
a/drivers/message/fusion/mptctl.c
b/drivers/message/fusion/mptctl.c
index
9b2e219
..
352acd0
100644
(file)
--- a/
drivers/message/fusion/mptctl.c
+++ b/
drivers/message/fusion/mptctl.c
@@
-621,11
+621,8
@@
__mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
*/
iocnumX = khdr.iocnum & 0xFF;
if (((iocnum = mpt_verify_adapter(iocnumX, &iocp)) < 0) ||
- (iocp == NULL)) {
- printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - ioc%d not found!\n",
- __FILE__, __LINE__, iocnumX);
+ (iocp == NULL))
return -ENODEV;
- }
if (!iocp->active) {
printk(KERN_DEBUG MYNAM "%s::mptctl_ioctl() @%d - Controller disabled.\n",