Unreimbursed local travel expense for IT company can be deducted from IT salary. For example, if your company has two office buildings, you can deduct mileage from building A to building B, but never from home to building A or B.
local travel expense for rental business can be deducted from rental income.
But travels between IT and rental business cannot be deducted from either income.