I remember when looking to this in the past it could be the attribute was removed sometimes (I could be wrong). and this would restore the attribute if needed.What cases though? As far as I can tell, it reads what it is, then sets back what it already was.
Anyway, I suppose there is no harm in leaving that in place. Shouldn't do any harm at least.