diff options
author | 2011-07-20 11:32:28 +0800 | |
---|---|---|
committer | 2011-08-03 22:25:39 -0700 | |
commit | 21ef4b8b7a7d59a995bf44382de38c95587767d4 (patch) | |
tree | c658c556af756d7a7eec889810d185c7afca7088 /tools/perf/scripts/python/syscall-counts.py | |
parent | ioat: fix xor_idx_to_desc (diff) | |
download | linux-dev-21ef4b8b7a7d59a995bf44382de38c95587767d4.tar.xz linux-dev-21ef4b8b7a7d59a995bf44382de38c95587767d4.zip |
dmaengine: use DEFINE_IDR for static initialization
We could use DEFINE_IDR for statically allocated idr
that allow us to save a few lines of code.
And also remove unneeded mutex_init() for dma_list_mutex, as
dma_list_mutex is initialized automatically by DEFINE_MUTEX().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions