Re: [PATCH 07/10] net: fix returning void-valued expressionwarnings

From: Alan Cox
Date: Wed Apr 30 2008 - 19:39:47 EST


> --- a/drivers/net/8390.c
> +++ b/drivers/net/8390.c
> @@ -34,7 +34,7 @@ struct net_device *__alloc_ei_netdev(int size)
>
> void NS8390_init(struct net_device *dev, int startp)
> {
> - return __NS8390_init(dev, startp);
> + __NS8390_init(dev, startp);
> }
>
> EXPORT_SYMBOL(ei_open);

Acked-by: Alan Cox <alan@xxxxxxxxxx>

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