mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 08:18:02 +02:00
pad: remove an unused argument
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1070>
This commit is contained in:
parent
c969b5f6e2
commit
181c667266
1 changed files with 1 additions and 2 deletions
|
|
@ -342,7 +342,6 @@ pad_get_mode_group(struct pad_dispatch *pad, unsigned int index)
|
||||||
|
|
||||||
static inline struct pad_mode_toggle_button *
|
static inline struct pad_mode_toggle_button *
|
||||||
pad_mode_toggle_button_new(struct pad_dispatch *pad,
|
pad_mode_toggle_button_new(struct pad_dispatch *pad,
|
||||||
struct libinput_tablet_pad_mode_group *group,
|
|
||||||
unsigned int button_index)
|
unsigned int button_index)
|
||||||
{
|
{
|
||||||
struct pad_mode_toggle_button *button;
|
struct pad_mode_toggle_button *button;
|
||||||
|
|
@ -422,7 +421,7 @@ pad_init_mode_buttons(struct pad_dispatch *pad,
|
||||||
struct pad_mode_toggle_button *b;
|
struct pad_mode_toggle_button *b;
|
||||||
struct pad_led_group *g;
|
struct pad_led_group *g;
|
||||||
|
|
||||||
b = pad_mode_toggle_button_new(pad, group, i);
|
b = pad_mode_toggle_button_new(pad, i);
|
||||||
if (!b)
|
if (!b)
|
||||||
return 1;
|
return 1;
|
||||||
g = (struct pad_led_group*)group;
|
g = (struct pad_led_group*)group;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue