drbd: cleanup: change "<= 0" to "== 0"
authorDan Carpenter <error27@gmail.com>
Wed, 11 Aug 2010 22:38:45 +0000 (00:38 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 17:17:23 +0000 (19:17 +0200)
commit2265769531afe267f864111c103b04b4427720b6
treeda90c3ce2cb64b75288b7e2da600d3f9b9b5d5c4
parentca0e6098aad127a555ba29d12e0503dbb1577aac
drbd: cleanup: change "<= 0" to "== 0"

dt is unsigned so it's never less than zero.  We are calculating the
elapsed time, and that's never less than zero (unless there is a bug or
we invent time travel).  The comparison here is just to guard against
divide by zero bugs.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
drivers/block/drbd/drbd_proc.c