]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Move 'dive_list_update_dives()' call into 'report_dives()'
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 5 Oct 2011 15:06:48 +0000 (08:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 5 Oct 2011 15:06:48 +0000 (08:06 -0700)
All the callers were always calling report_dives first, followed by
dive_list_update_dives().  And there really was no reason to have the
callers call two separate functions for the "I've added new dives" case.
So just call dive_list_update_dives() directly from report_dives(), and
remove it from the callers.

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

No differences found