The two substituents on one C must not be identical, and the two substituents on the other C must not be identical. You can, however have two of the same substituents, but on either C.
e.g.
H,Me-C=C=C-Et,Me is optically active
Me,Me-C=C=C-Et,H is not