Skip to content

Commit

Permalink
lightnvm: make __nvm_submit_ppa static
Browse files Browse the repository at this point in the history
The __nvm_submit_ppa() function is not used outside lightnvm core.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
Matias Bjørling authored and Jens Axboe committed Jul 7, 2016
1 parent 8680f16 commit d9e46d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/lightnvm/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static void nvm_end_io_sync(struct nvm_rq *rqd)
complete(waiting);
}

int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode,
static int __nvm_submit_ppa(struct nvm_dev *dev, struct nvm_rq *rqd, int opcode,
int flags, void *buf, int len)
{
DECLARE_COMPLETION_ONSTACK(wait);
Expand Down

0 comments on commit d9e46d5

Please sign in to comment.