aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNicolai Stange <[email protected]>2016-05-26 23:19:55 +0200
committerHerbert Xu <[email protected]>2016-05-31 16:42:01 +0800
commit20b5b7f3c2df2fb69b3b27dc83314b8891614ba5 (patch)
tree48df6ac9ff7c440bc8c26646dbc225e363ed6adf /tools/perf/scripts/python/bin
parentcdf24b42c6740ec429e85a8405e5e917abac8595 (diff)
lib/mpi: refactor mpi_read_from_buffer() in terms of mpi_read_raw_data()
mpi_read_from_buffer() and mpi_read_raw_data() do basically the same thing except that the former extracts the number of payload bits from the first two bytes of the input buffer. Besides that, the data copying logic is exactly the same. Replace the open coded buffer to MPI instance conversion by a call to mpi_read_raw_data(). Signed-off-by: Nicolai Stange <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions