diff options
author | Chen Gang <[email protected]> | 2013-11-03 22:23:39 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2013-11-08 09:04:30 -0700 |
commit | f8c5e94486671ffcac696886c246baa6ba89b5cf (patch) | |
tree | 9a4cf461b240740a0670cc364aec7851b3907ae1 /lib/test-string_helpers.c | |
parent | 6678d83f18386eb103f8345024e52c5abe61725c (diff) |
kernel: trace: blktrace: remove redundent memcpy() in compat_blk_trace_setup()
do_blk_trace_setup() will fully initialize 'buts.name', so can remove
the related memcpy(). And also use BLKTRACE_BDEV_SIZE and ARRAY_SIZE
instead of hard code number '32'.
Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions