dvb-scan: Don't call dvb_fe_get_stats() twice
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 17:51:26 +0000 (14:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 2 Mar 2013 19:09:35 +0000 (16:09 -0300)
This routine was called already be check_frontend. No need to
call it again.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/dvb/dvbv5-scan.c

index bc248dd..1f6d04f 100644 (file)
@@ -107,12 +107,6 @@ static int print_frontend_stats(struct arguments *args,
 
        args->n_status_lines = 0;
 
-       rc = dvb_fe_get_stats(parms);
-       if (rc) {
-               PERROR("dvb_fe_get_stats failed");
-               return -1;
-       }
-
        if (isatty(STDERR_FILENO)) {
                rc = dvb_fe_retrieve_stats(parms, DTV_STATUS, &status);
                if (rc)