Skip to content

Commit 87599ed

Browse files
tititiou36axboe
authored andcommitted
drbd: Remove an unused field in struct drbd_device
'next_barrier_nr' is not used in this driver. Remove it. It was already part of the original commit b411b36 ("The DRBD driver") Apparently, it has never been used. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/d5322ef88d1d6f544963ee277cb0b427da8dceef.1724602922.git.christophe.jaillet@wanadoo.fr Signed-off-by: Jens Axboe <[email protected]>
1 parent b2261de commit 87599ed

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/block/drbd/drbd_int.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,6 @@ struct drbd_device {
860860
struct list_head read_ee; /* [RS]P_DATA_REQUEST being read */
861861
struct list_head net_ee; /* zero-copy network send in progress */
862862

863-
int next_barrier_nr;
864863
struct list_head resync_reads;
865864
atomic_t pp_in_use; /* allocated from page pool */
866865
atomic_t pp_in_use_by_net; /* sendpage()d, still referenced by tcp */

0 commit comments

Comments
 (0)