hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/infiniband/sw/rxe/rxe_task.h
....@@ -19,14 +19,12 @@
1919 * called again.
2020 */
2121 struct rxe_task {
22
- void *obj;
2322 struct tasklet_struct tasklet;
2423 int state;
2524 spinlock_t state_lock; /* spinlock for task state */
2625 void *arg;
2726 int (*func)(void *arg);
2827 int ret;
29
- char name[16];
3028 bool destroyed;
3129 };
3230
....@@ -35,8 +33,7 @@
3533 * arg => parameter to pass to fcn
3634 * func => function to call until it returns != 0
3735 */
38
-int rxe_init_task(void *obj, struct rxe_task *task,
39
- void *arg, int (*func)(void *), char *name);
36
+int rxe_init_task(struct rxe_task *task, void *arg, int (*func)(void *));
4037
4138 /* cleanup task */
4239 void rxe_cleanup_task(struct rxe_task *task);