diff options
author | ed <ed@FreeBSD.org> | 2008-10-27 11:45:31 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2008-10-27 11:45:31 +0000 |
commit | db4c3eb3503fc75f114b091d654cbd76ade7a357 (patch) | |
tree | 5e7a8425eb9de53532de6344a7ab1344bd577cc5 /sys/dev/xen/console | |
parent | 9cb666e0ca12133368dd12b157cbca7b33bfe021 (diff) | |
download | FreeBSD-src-db4c3eb3503fc75f114b091d654cbd76ade7a357.zip FreeBSD-src-db4c3eb3503fc75f114b091d654cbd76ade7a357.tar.gz |
Remove unused consdev structure fields.
The cn_unit and cn_tp fields don't seem to be used anywhere. Some
drivers set them, while others don't. Just remove them, in an attempt to
make our consdev code a little easier to understand.
Diffstat (limited to 'sys/dev/xen/console')
-rw-r--r-- | sys/dev/xen/console/console.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/xen/console/console.c b/sys/dev/xen/console/console.c index da778d6..5b556c2 100644 --- a/sys/dev/xen/console/console.c +++ b/sys/dev/xen/console/console.c @@ -107,7 +107,6 @@ static void xccnprobe(struct consdev *cp) { cp->cn_pri = CN_REMOTE; - cp->cn_tp = xccons; sprintf(cp->cn_name, "%s0", driver_name); } |