Re: [PATCH 5/6] rio: warn_unused_result warnings fix

From: Andrew Morton
Date: Tue May 12 2009 - 18:16:19 EST


On Tue, 12 May 2009 16:36:02 +0800
Li Yang <leoli@xxxxxxxxxxxxx> wrote:

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

this `if' is unneeded.

> + kfree(rswitch->route_table);
> + kfree(rswitch);
> + }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/