net: mscc: ocelot: return directly in ocelot_cls_flower_{replace, destroy}
There is no need to check the "ret" variable, one can just return the function result back to the caller. Signed-off-by: NVladimir Oltean <vladimir.oltean@nxp.com> Tested-by: NHoratiu Vultur <horatiu.vultur@microchip.com> Reviewed-by: NAllan W. Nielsen <allan.nielsen@microchip.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录