Revert "Update msm.c"

This reverts commit 75f926e8224c2de75f8e7a68b0b24e5fde42604d.