Merge changes from topic "sync-cleanup"

* changes:
  sync: remove legacy sync info API
  Remove obsolete sync_test.c