If it is corn smut, pick the infected cobs before the smut releases
it's black powder. The smut is edible if it is firm and immature.
It's used in mexican cooking and called huitlacoche. Some good
recipes can be found in alt.food.mexican-cooking. If you have
allergies to mushrooms then avoid eating it.