aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fb/fb.c
diff options
context:
space:
mode:
authorKazutaka YOKOTA <yokota@FreeBSD.org>1999-12-07 11:23:58 +0000
committerKazutaka YOKOTA <yokota@FreeBSD.org>1999-12-07 11:23:58 +0000
commit0be01624315368ccf8659fa0d99edf54379e60f6 (patch)
tree404e26d4b22e22070dbc5f2eeef50ad2fb101eea /sys/dev/fb/fb.c
parent4332f82d595f37b9ca2b4bb0c4fbaf27543e16a6 (diff)
Notes
Diffstat (limited to 'sys/dev/fb/fb.c')
-rw-r--r--sys/dev/fb/fb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index 59ac170a88b9..b95003eb2651 100644
--- a/sys/dev/fb/fb.c
+++ b/sys/dev/fb/fb.c
@@ -754,14 +754,6 @@ fb_commonioctl(video_adapter_t *adp, u_long cmd, caddr_t arg)
case FBIO_FINDMODE: /* find a matching video mode */
error = (*vidsw[adp->va_index]->query_mode)(adp,
(video_info_t *)arg);
- if (error < 0) {
- error = EINVAL;
- } else {
- error = (*vidsw[adp->va_index]->get_info)(adp,
- error, (video_info_t *)arg);
- if (error)
- error = ENODEV; /* shouldn't happen */
- }
break;
case FBIO_GETMODE: /* get video mode */