Flush simply means “two or more surfaces that are even or level with each other” (1)
You can “flush” a surface. This means completely evening it out so it is completely flat: no nails or bumps sticking out.
1. Builder’s Comprehensive Dictionary (Robert Putnam, Reston Pub. Co., c1984)