drbd: Remove some useless paranoia code
authorAndreas Gruenbacher <agruen@linbit.com>
Tue, 21 Dec 2010 13:46:57 +0000 (14:46 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Mon, 29 Aug 2011 09:26:58 +0000 (11:26 +0200)
commit70dc65e1b3453c5b78ab8ec6bfb604aee7038ae3
treee273fbfd2fa4dbd4a421d236a23f5261e958ccd8
parent841ce241fa355048f66172a47e356bb6e9159c9d
drbd: Remove some useless paranoia code

The open_cnt check is an open-coded D_ASSERT() check.

In case the data.work queue is not empty, it does not really help to
know which drbd_work elements remained on that list: they will be freed
immediately afterwards, anyway.

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