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:Vladimir Oltean <vladimir.oltean@nxp.com> Tested-by:
Horatiu Vultur <horatiu.vultur@microchip.com> Reviewed-by:
Allan W. Nielsen <allan.nielsen@microchip.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment