openvswitch: Refactor action alloc and copy api.
There are two separate API to allocate and copy actions list. Anytime OVS needs to copy action list, it needs to call both functions. Following patch moves action allocation to copy function to avoid code duplication. Signed-off-by: Pravin B Shelar <email@example.com> Acked-by: Jarno Rajahalme <firstname.lastname@example.org>
Showing with 21 additions and 29 deletions