RDMA/rxe: Make rxe_do_task static
Subsystems (2)
PATCH 4/16 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().
Signed-off-by Ian Ziemba <[email protected]>
Signed-off-by Bob Pearson <[email protected]>
--- drivers/infiniband/sw/rxe/rxe_task.c | 2 +- drivers/infiniband/sw/rxe/rxe_task.h | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-)
drivers/infiniband/sw/rxe/rxe_task.c +1 -1
@@ -28,7 +28,7 @@ int __rxe_do_task(struct rxe_task *task)* a second caller finds the task already running * but looks just after the last call to func */ -void rxe_do_task (struct tasklet_struct *t) +static void rxe_do_task (struct tasklet_struct *t) {int cont;int ret;
drivers/infiniband/sw/rxe/rxe_task.h +0 -8
@@ -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);
Signature · 1 line
2.34.1