remove unnedded patches and confs