Remove unnecessary patches