bdev: remove spdk_bdev_io_submit() from API
It is only used within bdev.c and can be static. Change-Id: Id6e2cd9e5dd61a3ef1e1a27993d7a5ea7728bff2 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
1e85d9ef32
commit
66f4dce74a
@ -311,7 +311,6 @@ struct spdk_bdev_io *spdk_bdev_unmap(struct spdk_bdev *bdev, struct spdk_io_chan
|
||||
struct spdk_bdev_io *spdk_bdev_flush(struct spdk_bdev *bdev, struct spdk_io_channel *ch,
|
||||
uint64_t offset, uint64_t length,
|
||||
spdk_bdev_io_completion_cb cb, void *cb_arg);
|
||||
int spdk_bdev_io_submit(struct spdk_bdev_io *bdev_io);
|
||||
int spdk_bdev_free_io(struct spdk_bdev_io *bdev_io);
|
||||
int spdk_bdev_reset(struct spdk_bdev *bdev, enum spdk_bdev_reset_type,
|
||||
spdk_bdev_io_completion_cb cb, void *cb_arg);
|
||||
|
@ -441,7 +441,7 @@ __submit_request(struct spdk_bdev *bdev, struct spdk_bdev_io *bdev_io, spdk_even
|
||||
}
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
spdk_bdev_io_submit(struct spdk_bdev_io *bdev_io)
|
||||
{
|
||||
struct spdk_bdev *bdev = bdev_io->bdev;
|
||||
|
Loading…
Reference in New Issue
Block a user