commit | d3ac98668640858fd84164100710155317d87d6c | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Sat Feb 29 16:31:08 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 03 18:57:29 2020 -0800 |
tree | 564534a12b09b1d62b807e394be34595112a7d61 | |
parent | ce6659c55b7dad1eea57b4e9fe6e77d39d22c286 [diff] |
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>