diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-01-03 09:47:08 -0500 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 05:45:29 -0500 |
commit | 110a204a354a5a69f99ed0bc8e6d779e6a94d410 (patch) | |
tree | b59f14f8c0b722c94ef5b01604cb572016a6942a /drivers/block | |
parent | 794abb753e29e85949b3719dbc2ab6a98711a47e (diff) |
drbd: Remove useless / wrong comments
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/drbd/drbd_int.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index dc11b7070ba9..84b4575fdf43 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -680,13 +680,6 @@ static inline enum drbd_thread_state get_t_state(struct drbd_thread *thi) | |||
680 | return thi->t_state; | 680 | return thi->t_state; |
681 | } | 681 | } |
682 | 682 | ||
683 | |||
684 | /* | ||
685 | * Having this as the first member of a struct provides sort of "inheritance". | ||
686 | * "derived" structs can be "drbd_queue_work()"ed. | ||
687 | * The callback should know and cast back to the descendant struct. | ||
688 | * drbd_request and drbd_epoch_entry are descendants of drbd_work. | ||
689 | */ | ||
690 | struct drbd_work; | 683 | struct drbd_work; |
691 | typedef int (*drbd_work_cb)(struct drbd_conf *, struct drbd_work *, int cancel); | 684 | typedef int (*drbd_work_cb)(struct drbd_conf *, struct drbd_work *, int cancel); |
692 | struct drbd_work { | 685 | struct drbd_work { |
@@ -715,9 +708,6 @@ struct drbd_request { | |||
715 | * starting a new epoch... | 708 | * starting a new epoch... |
716 | */ | 709 | */ |
717 | 710 | ||
718 | /* up to here, the struct layout is identical to drbd_epoch_entry; | ||
719 | * we might be able to use that to our advantage... */ | ||
720 | |||
721 | struct list_head tl_requests; /* ring list in the transfer log */ | 711 | struct list_head tl_requests; /* ring list in the transfer log */ |
722 | struct bio *master_bio; /* master bio pointer */ | 712 | struct bio *master_bio; /* master bio pointer */ |
723 | unsigned long rq_state; /* see comments above _req_mod() */ | 713 | unsigned long rq_state; /* see comments above _req_mod() */ |