$\displaystyle 2sin\theta cos\theta-cos\theta=0$

This is what I did

First I took $\displaystyle cos\theta$ to other side resulting in $\displaystyle 2sin\theta cos\theta=cos\theta$

Then I divided by $\displaystyle cos\theta$ resulting in $\displaystyle 2sin\theta =1$ then I divided by 2 $\displaystyle sin\theta = \frac{1}{2}$

I am sure it's incorrect.. Can someone please help me