On a quotient of skew polynomial rings