drbd: Remove obsolete check
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 16 Nov 2012 11:27:41 +0000 (12:27 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 6 Dec 2012 11:09:55 +0000 (12:09 +0100)
commit298307ed1d2ac4815b0ce9a5f1c9cc643f4a9aca
treeec20f76413bec74f5c5aa15631554712c114fce4
parent84ad6845fbb1248228d3beab8084e4b5f6f82b1d
drbd: Remove obsolete check

Smatch complained about it this redundanct check.

The check was introduced in 2006-09-13. On 2007-07-24 the body of the
function was enclosed by get_ldev()/put_ldev() reference counting.
Since then the check is useless and miss leading.

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