Re: [PATCH] usb: gadget: uvc: fix returnvar.cocci warnings

From: Christoph Hellwig
Date: Mon Nov 28 2016 - 03:28:36 EST


On Wed, Nov 23, 2016 at 09:35:36AM +0100, Andrzej Pietrasiewicz wrote:
> The ->drop_item() is indeed a void function, the ->drop_link() is
> actually not. This, together with the fact that the value of ->drop_link()
> is silently ignored suggests, that it is the ->drop_link() return
> type that should be corrected and changed to void.

Please send a patch to change it.