projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7bed7
)
drbd: Get rid of typedef drbd_work_cb
author
Andreas Gruenbacher
<agruen@linbit.com>
Tue, 21 Dec 2010 11:38:39 +0000
(12:38 +0100)
committer
Philipp Reisner
<philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:44:50 +0000
(16:44 +0100)
This type is not used anywhere else.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
patch
|
blob
|
history
diff --git
a/drivers/block/drbd/drbd_int.h
b/drivers/block/drbd/drbd_int.h
index
837ac36
..
3a046e4
100644
(file)
--- a/
drivers/block/drbd/drbd_int.h
+++ b/
drivers/block/drbd/drbd_int.h
@@
-643,11
+643,9
@@
static inline enum drbd_thread_state get_t_state(struct drbd_thread *thi)
return thi->t_state;
}
-struct drbd_work;
-typedef int (*drbd_work_cb)(struct drbd_work *, int cancel);
struct drbd_work {
struct list_head list;
-
drbd_work_cb cb
;
+
int (*cb)(struct drbd_work *, int cancel)
;
union {
struct drbd_conf *mdev;
struct drbd_tconn *tconn;