[PATCH 5/6] rio: warn_unused_result warnings fix

Andrew Morton akpm at linux-foundation.org
Wed May 13 08:11:12 EST 2009


On Tue, 12 May 2009 16:36:02 +0800
Li Yang <leoli at freescale.com> wrote:

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

this `if' is unneeded.

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



More information about the Linuxppc-dev mailing list