Skip to content
Snippets Groups Projects
Commit bcc6d99a authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

gpiolib: sanitize flags before allocating memory in lineevent_create()


Move all the flags sanitization before any memory allocation in
lineevent_create() in order to remove a couple unneeded gotos.

Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent c8f3d144
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment