aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2021-05-24 22:10:47 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-27 14:49:39 +0200
commit64bf274711c0ba973bb1907fd5119c0d06255e37 (patch)
tree624da1198405a50c3523fc8555b85ba34e4a92e1 /tools/perf/scripts/python
parent7abdadfcf19a385b6f8ffea75457074240a9536f (diff)
eeprom: ee1004: Remove not needed check in ee1004_eeprom_read
i2c_smbus_read_i2c_block_data_or_emulated() checks its length argument, so we don't have to do it. In addition remove the unlikely hint from the checks, we do i2c reads and therefore are in a slow path. Signed-off-by: Heiner Kallweit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions