mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
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:
committed by
Peter Hutterer
parent
cd71ce67b1
commit
d52c2c0320
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user