Skip to contentSkip to conversation

eeprom: ee1004: Remove not needed debug message

PATCH New Heiner Kallweit 1 participant 1 message Jun 1, 2021 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eeprom: ee1004: Remove not needed debug message

If a user is interested in such transfer statistics he can simply switch on smbus tracing.

---
 drivers/misc/eeprom/ee1004.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/misc/eeprom/ee1004.c +1 -5
index 00f61a83d..bb9c4512c 100644
@@ -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,
Signature · 1 line
2.31.1