aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2010-02-23 15:04:23 +0300
committerDavid Vrabel <[email protected]>2010-02-25 13:38:51 +0000
commitbcf59e2c4dea780e4abf48d5e673f5d79f9ee064 (patch)
tree3bddb355fdadef0c3be34cadcbdf9dbfbfc27acd /tools/perf/util/trace-event-scripting.c
parent03806fa20f6a081493a731a4b18ea66317f9f947 (diff)
uwb: remove duplicate cpu_to_le16()
These parameters should be passed as cpu endian because we change it to little endian inside usb_control_msg(). On x86 cpu_to_le16() doesn't do anything so either way works but I think the original code would break on big endian systems. I removed the masks as well because that usb_control_msg() parameters are __u16 so we already only use the lower bits. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: David Vrabel <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions