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

Akinobu Mita akinobu.mita at gmail.com
Sat Jun 30 14:08:10 UTC 2007


2007/6/30, Grant Likely <grant.likely at secretlab.ca>:
> On 6/29/07, Akinobu Mita <akinobu.mita at gmail.com> 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




More information about the dm-devel mailing list