This doesn't matter if you have to make a specific trip (the number of miles is fixed), but that's not always the case. Whatever you do, don't walk, that seems to be the most dangerous common mode of transportation (unless motorcycles are common).
"Aviation industry insurers base their calculations on the deaths per journey statistic while the aviation industry itself generally uses the deaths per kilometre statistic in press releases."
Source: Transport comparisons in https://en.m.wikipedia.org/wiki/Aviation_safety