summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uscanner.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uscanner.c')
-rw-r--r--sys/dev/usb/uscanner.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/usb/uscanner.c b/sys/dev/usb/uscanner.c
index 05cf07c..0ad9080 100644
--- a/sys/dev/usb/uscanner.c
+++ b/sys/dev/usb/uscanner.c
@@ -61,11 +61,7 @@ __FBSDID("$FreeBSD$");
#endif
#include <sys/tty.h>
#include <sys/file.h>
-#if __FreeBSD_version >= 500014
#include <sys/selinfo.h>
-#else
-#include <sys/select.h>
-#endif
#include <sys/proc.h>
#include <sys/poll.h>
#include <sys/conf.h>
@@ -293,9 +289,6 @@ static struct cdevsw uscanner_cdevsw = {
.d_write = uscannerwrite,
.d_poll = uscannerpoll,
.d_name = "uscanner",
-#if __FreeBSD_version < 500014
- .d_bmaj -1
-#endif
};
#endif
OpenPOWER on IntegriCloud