I don't smoke, but I never really thought about coffee. When I took a voice therapy workshop for a little bit, although our teacher told us that coffee does irritate the vocal tract and is dehydrating, they still drank coffee anyways, lol.
Although the smoking thing, I would think it would affect those air passages...