summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-03-04 10:53:52 +0300
committerJens Axboe <axboe@kernel.dk>2020-03-10 18:12:56 +0300
commit469956e853ccdba72bb82ad2eea6e8ab6b15791f (patch)
treefa23adb3e1a046d419b687a7bec06f92dad6b11d /tools/perf/scripts/python/exported-sql-viewer.py
parent84557871f2ff332edd445d70349c8724c313c683 (diff)
downloadlinux-469956e853ccdba72bb82ad2eea6e8ab6b15791f.tar.xz
io_uring: Fix unused function warnings
If CONFIG_NET is not set, gcc warns: fs/io_uring.c:3110:12: warning: io_setup_async_msg defined but not used [-Wunused-function] static int io_setup_async_msg(struct io_kiocb *req, ^~~~~~~~~~~~~~~~~~ There are many funcions wraped by CONFIG_NET, move them together to simplify code, also fix this warning. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Minor tweaks. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions