Seems like some responder(s) forgot the Schrödinger's equation, (central to undergraduate QM) is a partial differential equation, not an ordinary differential equation. The most common technique for solving SE at the undergrad level, is separation of variables. However, this is not addressing the question, what parts of classical mechanics are necessary.
The more you understand classical mechanics the better. Many QM applications (examples will have classical analogs. To get a proper appreciation of QM you need to be prepared with CM. However, I would say at the undergrad level, if you did not do as well as you might have CM, you might still do well in QM, assuming you have a good grounding in mathematical physics. I qualify this by saying, make sure you repair any defects in CM, as soon as practical.
Caveat and silver lining: Caveat: The (first) course will not give you a complete understanding of undergraduate QM.
Silver lining: By the time you need a complete understanding of undergraduate QM, it will give you time to study the Lagrangian, and Hamiltonian Formulation of classical mechanics. Poisson Brackets, and advanced formalism can usually wait for grad school. Most students seem to find the commutator easier to understand than the classical Poisson Brackets.