Remove unused UNITOSOFTC() macro.
This commit is contained in:
parent
4cb3914f29
commit
b43e2a6b83
@ -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)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user