From db42ff97da7e9f97bb1afcd82d4aa0772c5ab311 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 29 Feb 2004 10:21:40 +0000 Subject: [PATCH] Remove unused FDNUMTOUNIT() macro --- sys/dev/fdc/fdc.c | 2 -- sys/isa/fd.c | 2 -- sys/pc98/cbus/fdc.c | 2 -- sys/pc98/pc98/fd.c | 2 -- 4 files changed, 8 deletions(-) diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 2f5bb2fc6666..265ae1b8e0af 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -176,8 +176,6 @@ typedef struct fd_data *fd_p; typedef struct fdc_data *fdc_p; typedef enum fdc_type fdc_t; -#define FDNUMTOUNIT(n) (((n) & 3) << 6) - /* * fdc maintains a set (1!) of ivars per child of each controller. */ diff --git a/sys/isa/fd.c b/sys/isa/fd.c index 2f5bb2fc6666..265ae1b8e0af 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -176,8 +176,6 @@ typedef struct fd_data *fd_p; typedef struct fdc_data *fdc_p; typedef enum fdc_type fdc_t; -#define FDNUMTOUNIT(n) (((n) & 3) << 6) - /* * fdc maintains a set (1!) of ivars per child of each controller. */ diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index a4b7bc490c52..c3a4dde0020c 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -198,8 +198,6 @@ typedef struct fd_data *fd_p; typedef struct fdc_data *fdc_p; typedef enum fdc_type fdc_t; -#define FDNUMTOUNIT(n) (((n) & 3) << 6) - /* * fdc maintains a set (1!) of ivars per child of each controller. */ diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index a4b7bc490c52..c3a4dde0020c 100644 --- a/sys/pc98/pc98/fd.c +++ b/sys/pc98/pc98/fd.c @@ -198,8 +198,6 @@ typedef struct fd_data *fd_p; typedef struct fdc_data *fdc_p; typedef enum fdc_type fdc_t; -#define FDNUMTOUNIT(n) (((n) & 3) << 6) - /* * fdc maintains a set (1!) of ivars per child of each controller. */