remove more redundant code in platform.h
1 file changed