Cleaned up msg_atomics code. Signed-off-by: Shantonu Hossain shantonu.hossain@intel.com