From: Karel Zak Date: Fri, 6 Mar 2020 13:55:19 +0000 (+0100) Subject: irqtop: small cleanup in main() X-Git-Tag: v2.36-rc1~196^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e925cf378f23ba49d831bcf7072670dc8eed36d2;p=thirdparty%2Futil-linux.git irqtop: small cleanup in main() --- diff --git a/sys-utils/irqtop.c b/sys-utils/irqtop.c index 64ab31bcdf..8c15712ee5 100644 --- a/sys-utils/irqtop.c +++ b/sys-utils/irqtop.c @@ -309,10 +309,8 @@ static void parse_args( struct irqtop_ctl *ctl, int main(int argc, char **argv) { int is_tty = 0; - int retval = EXIT_SUCCESS; struct termios saved_tty; struct irq_output out = { - .ncolumns = 0, .sort_func = DEF_SORT_FUNC }; struct irqtop_ctl ctl = { @@ -344,5 +342,5 @@ int main(int argc, char **argv) delwin(ctl.win); endwin(); - return retval; + return EXIT_SUCCESS; }