diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-08-11 14:53:21 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 12:38:17 -0400 |
commit | 0bb70bf601579b0d4c56acbb54b8eb0688541e19 (patch) | |
tree | d341c4a385be6f977ec1bcf78cd75cc60ecbc871 /drivers/block | |
parent | c36c3ced692b38d0cf90a5e6f875be2f9ebbc037 (diff) |
drbd: remove outdated comment and dead code
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 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h index 3a941744f069..72d204750408 100644 --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h | |||
@@ -858,10 +858,6 @@ struct drbd_bitmap; /* opaque for drbd_conf */ | |||
858 | 858 | ||
859 | /* THINK maybe we actually want to use the default "event/%s" worker threads | 859 | /* THINK maybe we actually want to use the default "event/%s" worker threads |
860 | * or similar in linux 2.6, which uses per cpu data and threads. | 860 | * or similar in linux 2.6, which uses per cpu data and threads. |
861 | * | ||
862 | * To be general, this might need a spin_lock member. | ||
863 | * For now, please use the mdev->req_lock to protect list_head, | ||
864 | * see drbd_queue_work below. | ||
865 | */ | 861 | */ |
866 | struct drbd_work_queue { | 862 | struct drbd_work_queue { |
867 | struct list_head q; | 863 | struct list_head q; |
@@ -1895,13 +1891,6 @@ static inline sector_t drbd_md_ss__(struct drbd_conf *mdev, | |||
1895 | } | 1891 | } |
1896 | 1892 | ||
1897 | static inline void | 1893 | static inline void |
1898 | _drbd_queue_work(struct drbd_work_queue *q, struct drbd_work *w) | ||
1899 | { | ||
1900 | list_add_tail(&w->list, &q->q); | ||
1901 | up(&q->s); | ||
1902 | } | ||
1903 | |||
1904 | static inline void | ||
1905 | drbd_queue_work_front(struct drbd_work_queue *q, struct drbd_work *w) | 1894 | drbd_queue_work_front(struct drbd_work_queue *q, struct drbd_work *w) |
1906 | { | 1895 | { |
1907 | unsigned long flags; | 1896 | unsigned long flags; |