From b43e2a6b8366d9da01f6de4a1fa6899a7d14e00a Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 22 Aug 2008 18:42:05 +0000 Subject: [PATCH] Remove unused UNITOSOFTC() macro. --- sys/dev/ppbus/if_plip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index dfee00d2e919..8eb200bba951 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -173,8 +173,6 @@ static void lp_intr(void *); #define DEVTOSOFTC(dev) \ ((struct lp_data *)device_get_softc(dev)) -#define UNITOSOFTC(unit) \ - ((struct lp_data *)devclass_get_softc(lp_devclass, (unit))) #define UNITODEVICE(unit) \ (devclass_get_device(lp_devclass, (unit)))