Question: why luffy wants to kill kaido?
Answer: Law has a plan to kill(or defeat) Kaido and the reason is the connection between the emeperor and Doflamingo himself(smile's factory). Sure he wanted to defeat Doflamingo in the process, but the plan against Kaido exist anyways.