On Mon, Oct 15, 2012 at 01:07:31PM +0100, Ian Abbott wrote:
> In `comedi_set_hw_dev()`, if there is no change to `dev->hw_dev` (and it
> is not `NULL`), don't bother putting and getting the device.

Why would any code call comedi_set_hw_dev() in such a situation?

I'll take this patch, but is it really needed?

greg k-h
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to