The fighting style feature states that
You can’t take a Fighting Style option more than once, even if you later get to choose again.
However, if you are a Ranger 2/Fighter 1 (for example), can you choose the same fighting style as a Ranger and as a Fighter because it’s two different class features?