Curious bathroom sink trap
I believe Oregon uses the UPC as the basis for their state/local code. Under the UPC S traps are illegal, and that's what you have there. S traps are illegal because they can cause the trap seal (the water that prevents the sewer gasses from entering your house) to siphon out.