From: David Herrmann Date: Wed, 31 Dec 2014 14:52:23 +0000 (+0100) Subject: machinectl: remove dead code X-Git-Tag: v219~739 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=06a079055a68dd73150ed002fad7059ad3b41235 machinectl: remove dead code 'r' is not touched after the previous error-checking 100 lines above. Drop that code. --- diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 0abc251cf..b1d170787 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);