[SCSI] aacraid: General driver cleanup
Received from Mark Salyzyn Remove superfluous code, optimize code, harden code, cast code, correct some text, use msleep instead of schedule_timeout_interruptible. No bugs. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:

committed by
James Bottomley

parent
53926274f2
commit
1241f3593a
@@ -767,9 +767,9 @@ void aac_printf(struct aac_dev *dev, u32 val)
|
||||
if (cp[length] != 0)
|
||||
cp[length] = 0;
|
||||
if (level == LOG_AAC_HIGH_ERROR)
|
||||
printk(KERN_WARNING "aacraid:%s", cp);
|
||||
printk(KERN_WARNING "%s:%s", dev->name, cp);
|
||||
else
|
||||
printk(KERN_INFO "aacraid:%s", cp);
|
||||
printk(KERN_INFO "%s:%s", dev->name, cp);
|
||||
}
|
||||
memset(cp, 0, 256);
|
||||
}
|
||||
|
Reference in New Issue
Block a user