diff options
| author | Wu Fengguang <[email protected]> | 2009-12-14 17:57:57 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-15 08:53:11 -0800 |
| commit | 4ea2f43f28e30050bc99fe3134b6b679f3bf5b22 (patch) | |
| tree | 1b0d50312a85a642b66d971406e9d8b0894250e4 /tools/perf/scripts/python | |
| parent | 659ace584e7a9fdda872eab4d6d7be1e0afb6cae (diff) | |
/dev/mem: remove redundant test on len
The len test in write_kmem() is always true, so can be reduced.
Signed-off-by: Wu Fengguang <[email protected]>
Acked-by: Andi Kleen <[email protected]>
Cc: Marcelo Tosatti <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Avi Kivity <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions