]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Use common helper function for the "no cylinder info" case
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Dec 2011 17:52:59 +0000 (09:52 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 9 Dec 2011 17:52:59 +0000 (09:52 -0800)
Miika fixed the statistics code that didn't properly check for the "no
cylinder info" case - this cleans it up and just uses the helper
function in equipment.c.

Rename the helper to be slightly better named while at it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found