Changing Courses after Admission senior year high school

Hi,
I was recently accepted to Purdue Comp Sci. Previously, on my common app, I stated that AP Physics was one of the course that I would take in the 2nd semester of my senior year. I’m now moving on to the 2nd semester and decide not to take that class anymore because I don’t feel like I will do well in that class and also don’t think it’s necessary for the major I’m choosing. I’m still having AP Calculus BC on my schedule. My question is: Will this affect my admission offer? I will surely inform Purdue about this.

Thank you!