Re: [PATCH 1/28] drivers/base/platform.c: Drop return value fromplatform_driver remove functions

From: Alan Cox
Date: Wed Dec 10 2008 - 11:38:40 EST


On Wed, 10 Dec 2008 17:26:26 +0100 (CET)
Julia Lawall <julia@xxxxxxx> wrote:

> From: Julia Lawall <julia@xxxxxxx>
>
> The return value of the remove function of a driver structure, and thus of
> a platform_driver structure, is ultimately ignored

Currently

> and is thus unnecessary.

Really - capturing those kind of failures is useful information which is
currently discarded but could later be used. Removing that information
makes it very hard to go and put back into all the drivers.

Alan
--
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/