diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-03 17:00:57 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-03-10 09:07:24 +0100 |
commit | c6dea929a4951c3c048554a1ef54cf8143d9577a (patch) | |
tree | 3facdbbf4787b234860a6e501fc94449930b3a6f /hw/xfree86/os-support/linux | |
parent | 2f2967173ba0b0a4f7ab013edeaaf11e7c181beb (diff) |
config_odev_add*_attribute: Don't add the attribute to the list twice
Don't do the xorg_list_append a 2nd time when updating existing attributes,
while at it add a helper function for this to avoid code duplication.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xfree86/os-support/linux')
0 files changed, 0 insertions, 0 deletions