That probably depends on your goals, your cardio fitness level, the distance and difficulty of your path and the intensity of your following workout.
For instance I drive to the gym and get on the treadmill for 5 minutes to bring my HR to over 100 but well under my min CV training target of 142 bpm. If I was to bike to the gym (@10 min mostly downhill) I would skip the cardio and probably the calesthenic routine I do for 5 min as well. If I was doing a
leg workout, I don't know if I would want to bike home though.
Now if I walked it I would just drop the 5 min cardio. I would never do this though because I don't have 40-60 minutes to spare for walking on
weight training days.
but that is just me. It might be a drop in the bucket for someone else at a different fitness level.