Remove DIOCGDISCARDPARAMS and DIOCDISCARD.

(and their accompanying structures)

These have never been in a release, and so we don't need to keep them
for compat. And we don't want them in a release :-)
This commit is contained in:
dholland 2014-07-25 08:34:48 +00:00
parent 88b56804ff
commit 05b5221746
1 changed files with 3 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: dkio.h,v 1.18 2012/10/19 17:09:07 drochner Exp $ */
/* $NetBSD: dkio.h,v 1.19 2014/07/25 08:34:48 dholland Exp $ */
/*
* Copyright (c) 1987, 1988, 1993
@ -109,15 +109,7 @@
#define DIOCTUR _IOR('d', 128, int) /* test unit ready */
struct disk_discard_params {
long maxsize; /* in DEV_BSIZE units */
};
#define DIOCGDISCARDPARAMS _IOR('d', 129, struct disk_discard_params)
struct disk_discard_range {
daddr_t bno;
long size;
};
#define DIOCDISCARD _IOW('d', 130, struct disk_discard_range)
/* 129 was DIOCGDISCARDPARAMS during 6.99 */
/* 130 was DIOCDISCARD during 6.99 */
#endif /* _SYS_DKIO_H_ */