mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-11 06:58:18 +02:00
Cleanup stray newline in a return statement
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
parent
3abdafd12d
commit
991f271de5
1 changed files with 1 additions and 2 deletions
|
|
@ -51,8 +51,7 @@ static long backlight_get(struct backlight *backlight, char *node)
|
|||
long value, ret;
|
||||
|
||||
if (asprintf(&path, "%s/%s", backlight->path, node) < 0)
|
||||
return -ENOMEM
|
||||
;
|
||||
return -ENOMEM;
|
||||
fd = open(path, O_RDONLY);
|
||||
if (fd < 0) {
|
||||
ret = -1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue