Revert "Merge from LGL22 v10a && v10b open source code"

This reverts commit 1ea9b5ff1b63fd2c8841663954e8d0a66d62b172.