diff options
-rw-r--r-- | drivers/block/rbd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index 6df8c62c40f5..b9895feda5ee 100644 --- a/drivers/block/rbd.c +++ b/drivers/block/rbd.c | |||
@@ -2458,8 +2458,6 @@ static ssize_t rbd_add(struct bus_type *bus, | |||
2458 | INIT_LIST_HEAD(&rbd_dev->snaps); | 2458 | INIT_LIST_HEAD(&rbd_dev->snaps); |
2459 | init_rwsem(&rbd_dev->header_rwsem); | 2459 | init_rwsem(&rbd_dev->header_rwsem); |
2460 | 2460 | ||
2461 | init_rwsem(&rbd_dev->header_rwsem); | ||
2462 | |||
2463 | /* generate unique id: find highest unique id, add one */ | 2461 | /* generate unique id: find highest unique id, add one */ |
2464 | rbd_id_get(rbd_dev); | 2462 | rbd_id_get(rbd_dev); |
2465 | 2463 | ||