diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-12-31 15:52:23 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-12-31 15:52:23 +0100 |
commit | 06a079055a68dd73150ed002fad7059ad3b41235 (patch) | |
tree | fd592550a67c42fc59634e4cb0cadafc7ec94c5c /src | |
parent | bf66fe2682784a0fd9a93deb8f0f4fbd3797b0cb (diff) |
machinectl: remove dead code
'r' is not touched after the previous error-checking 100 lines above. Drop
that code.
Diffstat (limited to 'src')
-rw-r--r-- | src/machine/machinectl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 0abc251cf8..b1d170787b 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -250,9 +250,6 @@ static int list_images(int argc, char *argv[], void *userdata) { (int) max_mtime, strna(format_timestamp(mtime_buf, sizeof(mtime_buf), images[j].mtime))); } - if (r < 0) - return bus_log_parse_error(r); - if (arg_legend) printf("\n%zu images listed.\n", n_images); |