Remove MALLOC_DECLAREs of nonexisting malloc-pools.
After careful grepping, it seems none of these pools can be found in our source tree. They are not in use, nor are they defined.
This commit is contained in:
parent
7dd1259f73
commit
8f80f103b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227267
@ -64,7 +64,6 @@ typedef uint32_t digest_t(const void *, int len, uint32_t ocrc);
|
||||
|
||||
MALLOC_DECLARE(M_ISCSI);
|
||||
MALLOC_DECLARE(M_ISCSIBUF);
|
||||
MALLOC_DECLARE(M_PDU);
|
||||
|
||||
#define ISOK2DIG(dig, pp) ((dig != NULL) && ((pp->ipdu.bhs.opcode & 0x1f) != ISCSI_LOGIN_CMD))
|
||||
|
||||
|
@ -65,11 +65,4 @@ struct nwfs_args {
|
||||
int tz;
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_NWFSMNT);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* !_NWFS_MOUNT_H_ */
|
||||
|
@ -61,10 +61,6 @@ struct smbfs_args {
|
||||
|
||||
#include <sys/_sx.h>
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_SMBFSMNT);
|
||||
#endif
|
||||
|
||||
struct smbnode;
|
||||
struct smb_share;
|
||||
struct u_cred;
|
||||
|
@ -147,10 +147,6 @@ struct knlist {
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_KQUEUE);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Flags for knote call
|
||||
*/
|
||||
|
@ -185,10 +185,6 @@ struct xfile {
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_FILE);
|
||||
#endif
|
||||
|
||||
extern struct fileops vnops;
|
||||
extern struct fileops badfileops;
|
||||
extern struct fileops socketops;
|
||||
|
@ -115,10 +115,6 @@ struct extattr {
|
||||
|
||||
#include <sys/_sx.h>
|
||||
|
||||
#ifdef MALLOC_DECLARE
|
||||
MALLOC_DECLARE(M_EXTATTR);
|
||||
#endif
|
||||
|
||||
struct vnode;
|
||||
LIST_HEAD(ufs_extattr_list_head, ufs_extattr_list_entry);
|
||||
struct ufs_extattr_list_entry {
|
||||
|
Loading…
Reference in New Issue
Block a user