commit | 2265769531afe267f864111c103b04b4427720b6 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Thu Aug 12 00:38:45 2010 +0200 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Oct 14 19:17:23 2010 +0200 |
tree | da90c3ce2cb64b75288b7e2da600d3f9b9b5d5c4 | |
parent | ca0e6098aad127a555ba29d12e0503dbb1577aac [diff] |
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>