drbd: Remove unnecessary/unused code
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 27 Feb 2014 19:49:54 +0000 (20:49 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:34:58 +0000 (18:34 +0200)
commitcaa3db0e14cc301f07e758f4cadc36d4dead145a
tree5e0fafd49d110cb48525cac0b0739b76cbf320bf
parent8ce953aa39e2bfd66036a27abdf761c2cb93f02c
drbd: Remove unnecessary/unused code

Get rid of dump_stack() debug statements.

There is no point whatsoever in registering and unregistering a reboot
notifier that doesn't do anything.

The intention was to switch to an "emergency read-only" mode,
so we won't have to resync the full activity log just because
we had been Primary before the reboot.

Once we have that implemented, we may re-introduce the reboot notifier.

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