Smoking is not a risk factor for developing pulmonary fibrosis.