tdb2: Remove unused tdb1 functions.