# Re: \[PATCH 5/6\] rio: warn\_unused\_result warnings fix

- From: Andrew Morton \<akpm@linux-foundation.org\>
- Date: 2009-05-12 22:16:17 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2009/05/1249693
- Thread: https://ratatoskr.run/netdev/2009/05/1249321/t.md

```text
On Tue, 12 May 2009 16:36:02 +0800
Li Yang [ref] wrote:

> +	if (rswitch) {
> +		if (rswitch->route_table)

this `if' is unneeded.

> +			kfree(rswitch->route_table);
> +		kfree(rswitch);
> +	}
```
