Disable pf_write() to reduce code size.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>