]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drbd: Remove pointless check
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 29 Oct 2014 16:19:44 +0000 (17:19 +0100)
committerJens Axboe <axboe@fb.com>
Wed, 25 Nov 2015 16:21:59 +0000 (09:21 -0700)
commit3b8a44f8edfd695f3bf63e0371f5b622028e560a
tree8f4959f4f7754ee2c4b677e3f7617b66c7923403
parentbc2c049d081ee6c2bf4809555c0c9f64a9a15e75
drbd: Remove pointless check

In drbd-8.4 there is always a single connection per resource,
and there is always exactly one peer_device for a device.
peer_device can not be NULL here.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/drbd/drbd_nl.c