killing, eliminating the adults is good(sticku traps, vacume).. but unless you treat the "source", you aren't helping your plants. The adults are harmless to your plants, the larvae feed on the micro roots, and DO harm your plants.
..type "fungus gnats" into the search feature and you will recieve hundreds of helpfull replies