diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2022-10-21 15:01:06 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-10-28 13:47:15 -0300 |
commit | dcef28528cce82a82134abd393aa0f38f2edf77e (patch) | |
tree | 9ab3d9b6dd60f0f0e8e6b6c678ba8f8f1cba0f66 /drivers/infiniband/sw/rxe/rxe_task.h | |
parent | dccb23f6c312e4480fe32ccbc2afac1a5cac7e5e (diff) |
RDMA/rxe: Make rxe_do_task static
The subroutine rxe_do_task() is only called in rxe_task.c. This patch
makes it static and renames it do_task().
Link: https://lore.kernel.org/r/20221021200118.2163-6-rpearsonhpe@gmail.com
Signed-off-by: Ian Ziemba <ian.ziemba@hpe.com>
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_task.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_task.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_task.h b/drivers/infiniband/sw/rxe/rxe_task.h index 590b1c1d7e7c..99e0173e5c46 100644 --- a/drivers/infiniband/sw/rxe/rxe_task.h +++ b/drivers/infiniband/sw/rxe/rxe_task.h @@ -44,14 +44,6 @@ void rxe_cleanup_task(struct rxe_task *task); */ int __rxe_do_task(struct rxe_task *task); -/* - * common function called by any of the main tasklets - * If there is any chance that there is additional - * work to do someone must reschedule the task before - * leaving - */ -void rxe_do_task(struct tasklet_struct *t); - void rxe_run_task(struct rxe_task *task); void rxe_sched_task(struct rxe_task *task); |