Revert "samsung: libril: some code cleanup"

This reverts commit ea4af61a1b3c1199bef63f0f34a5fe8d5f4dd8d0.