diff options
author | Omar Sandoval <osandov@fb.com> | 2017-01-31 17:53:19 -0500 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-02 12:20:16 -0500 |
commit | a428d314ebcf65842fd64ad850c02c280586e74d (patch) | |
tree | fa7418aca3b2ca52b4083c112813acaf9b533e8e /include/linux/blktrace_api.h | |
parent | 03796c149a99e14506db9de3adba710c26f83ba9 (diff) |
blktrace: make do_blk_trace_setup() static
This isn't used outside of blktrace.c anymore.
Fixes: 62c2a7d969f3 ("block: push BKL into blktrace ioctls")
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index 341f9418bd68..d2e908586e3d 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h | |||
@@ -30,9 +30,6 @@ struct blk_trace { | |||
30 | 30 | ||
31 | extern int blk_trace_ioctl(struct block_device *, unsigned, char __user *); | 31 | extern int blk_trace_ioctl(struct block_device *, unsigned, char __user *); |
32 | extern void blk_trace_shutdown(struct request_queue *); | 32 | extern void blk_trace_shutdown(struct request_queue *); |
33 | extern int do_blk_trace_setup(struct request_queue *q, char *name, | ||
34 | dev_t dev, struct block_device *bdev, | ||
35 | struct blk_user_trace_setup *buts); | ||
36 | extern __printf(2, 3) | 33 | extern __printf(2, 3) |
37 | void __trace_note_message(struct blk_trace *, const char *fmt, ...); | 34 | void __trace_note_message(struct blk_trace *, const char *fmt, ...); |
38 | 35 | ||
@@ -80,7 +77,6 @@ extern struct attribute_group blk_trace_attr_group; | |||
80 | #else /* !CONFIG_BLK_DEV_IO_TRACE */ | 77 | #else /* !CONFIG_BLK_DEV_IO_TRACE */ |
81 | # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) | 78 | # define blk_trace_ioctl(bdev, cmd, arg) (-ENOTTY) |
82 | # define blk_trace_shutdown(q) do { } while (0) | 79 | # define blk_trace_shutdown(q) do { } while (0) |
83 | # define do_blk_trace_setup(q, name, dev, bdev, buts) (-ENOTTY) | ||
84 | # define blk_add_driver_data(q, rq, data, len) do {} while (0) | 80 | # define blk_add_driver_data(q, rq, data, len) do {} while (0) |
85 | # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) | 81 | # define blk_trace_setup(q, name, dev, bdev, arg) (-ENOTTY) |
86 | # define blk_trace_startstop(q, start) (-ENOTTY) | 82 | # define blk_trace_startstop(q, start) (-ENOTTY) |