mfscommon: fix code style, remove unnecessary code