diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-11-28 14:20:07 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-11-28 14:37:11 -0500 |
commit | df41aaf9a2b195c9a8bb6fca6672cbf25bc147fb (patch) | |
tree | f49c7c525b8928dbbb0a2c0371cebf23596eb9fb | |
parent | 0b340bcf0e1e52efb4a5ba1bd4eda8e3349baaed (diff) |
Remove some unused variables
-rw-r--r-- | src/core/swap.c | 2 | ||||
-rw-r--r-- | src/network/networkd-bridge.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index 1d02eb2978..b197eb469a 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -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; diff --git a/src/network/networkd-bridge.c b/src/network/networkd-bridge.c index 371c093ca1..e9dceab894 100644 --- a/src/network/networkd-bridge.c +++ b/src/network/networkd-bridge.c @@ -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 { |