etekcity: do not unref the active profile while in probe()

Left over from 49d70577c ("Replace get_active_profile with
profile_is_active")


Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2015-08-31 16:56:47 -04:00
parent 63e0ddc550
commit c288ab0cbf

View File

@@ -710,8 +710,6 @@ etekcity_probe(struct ratbag_device *device, const struct ratbag_id id)
ratbag_device_get_name(device),
profile->index);
profile = ratbag_profile_unref(profile);
return 0;
err: