.. | .. |
---|
19 | 19 | * called again. |
---|
20 | 20 | */ |
---|
21 | 21 | struct rxe_task { |
---|
22 | | - void *obj; |
---|
23 | 22 | struct tasklet_struct tasklet; |
---|
24 | 23 | int state; |
---|
25 | 24 | spinlock_t state_lock; /* spinlock for task state */ |
---|
26 | 25 | void *arg; |
---|
27 | 26 | int (*func)(void *arg); |
---|
28 | 27 | int ret; |
---|
29 | | - char name[16]; |
---|
30 | 28 | bool destroyed; |
---|
31 | 29 | }; |
---|
32 | 30 | |
---|
.. | .. |
---|
35 | 33 | * arg => parameter to pass to fcn |
---|
36 | 34 | * func => function to call until it returns != 0 |
---|
37 | 35 | */ |
---|
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 *)); |
---|
40 | 37 | |
---|
41 | 38 | /* cleanup task */ |
---|
42 | 39 | void rxe_cleanup_task(struct rxe_task *task); |
---|