In this course, unnecessary means not needed — not required by the circumstances. The introduction ties that sense to necessary. See the Cambridge English entry and the Merriam-Webster entry. Encyclopedic background is in Unnecessary.