diff options
| author | Heiner Kallweit <[email protected]> | 2021-06-01 07:50:30 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-06-04 13:28:27 +0000 |
| commit | 2fa7d74ff54e8c99f7cf04e1749bfca8f8e12e98 (patch) | |
| tree | 495c194f1351141d95b03177a4370b1ae9064dc5 | |
| parent | misc: hpilo: map iLO shared memory by PCI revision id (diff) | |
| download | kernel-2fa7d74ff54e8c99f7cf04e1749bfca8f8e12e98.tar.gz kernel-2fa7d74ff54e8c99f7cf04e1749bfca8f8e12e98.zip | |
eeprom: ee1004: Remove not needed debug message
If a user is interested in such transfer statistics he can simply
switch on smbus tracing.
Signed-off-by: Heiner Kallweit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/misc/eeprom/ee1004.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/misc/eeprom/ee1004.c b/drivers/misc/eeprom/ee1004.c index 00f61a83d7dd..bb9c4512c968 100644 --- a/drivers/misc/eeprom/ee1004.c +++ b/drivers/misc/eeprom/ee1004.c @@ -114,11 +114,7 @@ static ssize_t ee1004_eeprom_read(struct i2c_client *client, char *buf, if (offset + count > EE1004_PAGE_SIZE) count = EE1004_PAGE_SIZE - offset; - status = i2c_smbus_read_i2c_block_data_or_emulated(client, offset, - count, buf); - dev_dbg(&client->dev, "read %zu@%d --> %d\n", count, offset, status); - - return status; + return i2c_smbus_read_i2c_block_data_or_emulated(client, offset, count, buf); } static ssize_t eeprom_read(struct file *filp, struct kobject *kobj, |
