Re: [PATCH 2/4] void unregister_blkdev - delete redundant messages

From: Akinobu Mita
Date: Sat Jun 30 2007 - 10:08:19 EST


2007/6/30, Grant Likely <grant.likely@xxxxxxxxxxxx>:
On 6/29/07, Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:
> No need to warn unregister_blkdev() failure by the callers.
> (The previous patch makes unregister_blkdev() print error message in
> error case)

Seeing as none of the callers check the error code; why does the
function return anything at all?

Right. This series of patches is trying to make it return void.

http://lkml.org/lkml/2007/6/29/320
-
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/