hidpp10: remove empty callback

write_profile is deprecated and none of the other drivers have an empty
implementation like this.
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2017-10-06 22:16:09 +02:00
committed by Peter Hutterer
parent cd71ce67b1
commit d52c2c0320

View File

@@ -403,12 +403,6 @@ hidpp10drv_read_profile(struct ratbag_profile *profile, unsigned int index)
}
}
static int
hidpp10drv_write_profile(struct ratbag_profile *profile)
{
return 0;
}
static int
hidpp10drv_fill_from_profile(struct ratbag_device *device, struct hidpp10_device *dev)
{
@@ -661,7 +655,6 @@ struct ratbag_driver hidpp10_driver = {
.probe = hidpp10drv_probe,
.remove = hidpp10drv_remove,
.read_profile = hidpp10drv_read_profile,
.write_profile = hidpp10drv_write_profile,
.set_active_profile = hidpp10drv_set_current_profile,
.read_button = hidpp10drv_read_button,
.commit = hidpp10drv_commit,