As a landlord, can I deduct the mileage expense if I cannot claim a home office?

I record the mileage to and from my rental property, mainly for repairs and maintenance (this includes trips to local hardware stores). I happened to see on a site with a rental property tax deduction list that I can't claim that mileage if I can't claim a home office for my business. Is this the case?