unnecessary c code