usb-redir: cosmetic changes in hotplug_callback

Unify parameter name for libusb_device.
Use g_return_val_if_fail for unexpected condition.
Remove redundant casting.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Acked-by: Victor Toso <victortoso@redhat.com>
2 jobs for master in 4 minutes and 39 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Test
passed #441054
fedora

00:04:39

passed #441055
windows

00:03:39