mrpippy/hidapi — comment on commit d774de194c58f9692eaed41783cb4093df14221d
File:  line 0
By signal11:

This looks good. The only thing I'd say is to also remove the next pointer in hid_device_ since it shouldn't be needed anymore.