mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +00:00
eeprom: Drop useless and possibly unsafe debugging log messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5020 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
7294b74b97
commit
b5f0bc5e6c
2 files changed
+2
-11
No files matched your search
+1
-11
@@ -320,17 +320,7 @@ void eeprom_contents(struct i2c_client *client, int operation,
|
||||
else
|
||||
for (i = 0; i < 16; i++)
|
||||
results[i] = data->data[i + nr * 16];
|
||||
#ifdef DEBUG
|
||||
printk(KERN_DEBUG "eeprom.o: 0x%X EEPROM contents (row %d):",
|
||||
client->addr, nr + 1);
|
||||
if (nr == 0 && data->nature == NATURE_VAIO)
|
||||
printk(" <hidden for security reasons>\n");
|
||||
else {
|
||||
for (i = 0; i < 16; i++)
|
||||
printk(" 0x%02X", data->data[i + nr * 16]);
|
||||
printk("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
*nrels_mag = 16;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user