diff options
author | Chris Boot <[email protected]> | 2012-12-11 21:58:47 +0000 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2012-12-12 21:16:47 -0800 |
commit | 37419d674ca99739dbee5ada28b50aacc29c94e1 (patch) | |
tree | 727a2b2faf812f9d8d3c36398a88f213f3248ed4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ed72a4d52add345595f09b360d6ac5f20428d361 (diff) |
sbp-target: use simple assignment in tgt_agent_rw_agent_state()
There is no need to memcpy() a 32-bit integer. The data pointer is
guaranteed to be quadlet aligned by the FireWire stack so we can replace
the memcpy() with an assignment.
Thanks to Stefan Richter.
Signed-off-by: Chris Boot <[email protected]>
Cc: Stefan Richter <[email protected]>
Cc: Andy Grover <[email protected]>
Cc: Clemens Ladisch <[email protected]>
Cc: Nicholas A. Bellinger <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions