Skip to content
Commit e75ad2cc authored by Wang Hai's avatar Wang Hai Committed by Jens Axboe
Browse files

blktrace: make function blk_trace_bio_get_cgid() static



The sparse tool complains as follows:

kernel/trace/blktrace.c:796:5: warning:
 symbol 'blk_trace_bio_get_cgid' was not declared. Should it be static?

This function is not used outside of blktrace.c, so this commit
marks it static.

Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWang Hai <wanghai38@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ddfb8b0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment