http://www.anesthesiologyinfo.com/articles/12012003.php
This link tells you all you need to know about smoking and anestesia. If you are several months away from surgery, you should be fine. However if your surgery is less than three weeks away, you might want to postpone it.