mirror of
https://github.com/systemd/systemd.git
synced 2025-01-25 10:04:04 +03:00
Remove some unused variables
This commit is contained in:
parent
0b340bcf0e
commit
df41aaf9a2
@ -1182,7 +1182,6 @@ static int swap_dispatch_io(sd_event_source *source, int fd, uint32_t revents, v
|
||||
}
|
||||
|
||||
static Unit *swap_following(Unit *u) {
|
||||
_cleanup_free_ char *p = NULL;
|
||||
Swap *s = SWAP(u);
|
||||
Swap *other, *first = NULL;
|
||||
|
||||
@ -1336,7 +1335,6 @@ int swap_process_new_device(Manager *m, struct udev_device *dev) {
|
||||
}
|
||||
|
||||
int swap_process_removed_device(Manager *m, struct udev_device *dev) {
|
||||
_cleanup_free_ char *e = NULL;
|
||||
const char *dn;
|
||||
int r = 0;
|
||||
Swap *s;
|
||||
|
@ -202,8 +202,6 @@ static int bridge_create(Bridge *bridge) {
|
||||
}
|
||||
|
||||
int bridge_join(Bridge *bridge, Link *link, sd_rtnl_message_handler_t callback) {
|
||||
_cleanup_sd_rtnl_message_unref_ sd_rtnl_message *req = NULL;
|
||||
|
||||
if (bridge->state == BRIDGE_STATE_READY) {
|
||||
bridge_join_ready(bridge, link, callback);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user