mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-30 00:10:07 +01:00
reis: drop unnecessary variable rc
This commit is contained in:
parent
dde6af06e2
commit
91a604656e
1 changed files with 3 additions and 6 deletions
|
|
@ -94,8 +94,7 @@ reis_set_property_with_permissions(struct reis *reis,
|
|||
property.value = value ? (char*)value : "";
|
||||
property.permissions = permissions;
|
||||
|
||||
int rc = send_msg(reis->eisfd, &msg);
|
||||
return rc;
|
||||
return send_msg(reis->eisfd, &msg);
|
||||
}
|
||||
|
||||
_public_ int
|
||||
|
|
@ -104,8 +103,7 @@ reis_set_name(struct reis *reis, const char *name)
|
|||
prepare_msg(CONFIGURE_NAME, ConfigureName, configure_name);
|
||||
configure_name.name = (char*)name;
|
||||
|
||||
int rc = send_msg(reis->eisfd, &msg);
|
||||
return rc;
|
||||
return send_msg(reis->eisfd, &msg);
|
||||
}
|
||||
|
||||
_public_ int
|
||||
|
|
@ -133,6 +131,5 @@ reis_allow_capability(struct reis *reis, enum reis_device_capability capability,
|
|||
prepare_msg(CONFIGURE_CAPABILITIES, ConfigureCapabilities, configure_capabilities);
|
||||
configure_capabilities.allowed_capabilities = caps;
|
||||
|
||||
int rc = send_msg(reis->eisfd, &msg);
|
||||
return rc;
|
||||
return send_msg(reis->eisfd, &msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue