Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/dtv remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/c9bed3441db7
branches:  trunk
changeset: 790590:c9bed3441db7
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 17 21:23:05 2013 +0000

description:
remove unused variable

diffstat:

 sys/dev/dtv/dtv_demux.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r db5b0b0e4f80 -r c9bed3441db7 sys/dev/dtv/dtv_demux.c
--- a/sys/dev/dtv/dtv_demux.c   Thu Oct 17 21:22:28 2013 +0000
+++ b/sys/dev/dtv/dtv_demux.c   Thu Oct 17 21:23:05 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dtv_demux.c,v 1.4 2011/07/16 12:20:01 jmcneill Exp $ */
+/* $NetBSD: dtv_demux.c,v 1.5 2013/10/17 21:23:05 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -52,7 +52,7 @@
  */ 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dtv_demux.c,v 1.4 2011/07/16 12:20:01 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dtv_demux.c,v 1.5 2013/10/17 21:23:05 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -368,7 +368,6 @@
 dtv_demux_ioctl(struct file *fp, u_long cmd, void *data)
 {
        struct dtv_demux *demux = fp->f_data;
-       struct dtv_softc *sc;
        struct dmx_pes_filter_params *pesfilt;
        struct dmx_sct_filter_params *sctfilt;
        uint16_t pid;
@@ -376,7 +375,6 @@
 
        if (demux == NULL)
                return ENXIO;
-       sc = demux->dd_sc;
 
        switch (cmd) {
        case DMX_START:



Home | Main Index | Thread Index | Old Index