[PATCH] I2O: second code cleanup of sparse warnings and unneeded syncronization
Changes: - Added header "core.h" for i2o_core.ko internal definitions - More sparse fixes - Changed display of TID's in sysfs attributes from XXX to 0xXXX - Use the right functions for accessing I/O and normal memory - Removed error handling of SCSI device errors and let the SCSI layer take care of it - Added new device / removed device handling to SCSI-OSM - Make status access volatile - Cleaned up activation of I2O controller - Removed unnecessary wmb() and rmb() calls - Use own struct i2o_io for I/O memory instead of struct i2o_dma Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b2aaee33fb
commit
9e87545f06
@ -4,8 +4,6 @@
|
||||
#include <linux/pci.h>
|
||||
#include <linux/i2o.h>
|
||||
|
||||
extern struct i2o_driver **i2o_drivers;
|
||||
extern unsigned int i2o_max_drivers;
|
||||
static void i2o_report_util_cmd(u8 cmd);
|
||||
static void i2o_report_exec_cmd(u8 cmd);
|
||||
static void i2o_report_fail_status(u8 req_status, u32 * msg);
|
||||
@ -23,7 +21,6 @@ void i2o_report_status(const char *severity, const char *str,
|
||||
u8 cmd = (msg[1] >> 24) & 0xFF;
|
||||
u8 req_status = (msg[4] >> 24) & 0xFF;
|
||||
u16 detailed_status = msg[4] & 0xFFFF;
|
||||
//struct i2o_driver *h = i2o_drivers[msg[2] & (i2o_max_drivers-1)];
|
||||
|
||||
if (cmd == I2O_CMD_UTIL_EVT_REGISTER)
|
||||
return; // No status in this reply
|
||||
|
Reference in New Issue
Block a user