kernel: trace: blktrace: remove redundent memcpy() in compat_blk_trace_setup()
authorChen Gang <gang.chen@asianux.com>
Sun, 3 Nov 2013 14:23:39 +0000 (22:23 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2013 16:04:30 +0000 (09:04 -0700)
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 <gang.chen@asianux.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found