machinectl: remove dead code

'r' is not touched after the previous error-checking 100 lines above. Drop
that code.
This commit is contained in:
David Herrmann 2014-12-31 15:52:23 +01:00
parent bf66fe2682
commit 06a079055a

View file

@ -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);