diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-11 22:38:45 (GMT) |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 17:17:23 (GMT) |
commit | 2265769531afe267f864111c103b04b4427720b6 (patch) | |
tree | da90c3ce2cb64b75288b7e2da600d3f9b9b5d5c4 /COPYING | |
parent | ca0e6098aad127a555ba29d12e0503dbb1577aac (diff) | |
download | linux-2265769531afe267f864111c103b04b4427720b6.tar.xz |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions