Revert "MT#9177 Fix device annotations sql error in devmod_edit."

This reverts commit f6a23d06021e1c5244fa7880357aba11761080b4.