mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix inconsistent use of malloc type for cdev private data.
Remove M_VCHIQ malloc type, now not used anywhere. Reviewed by: gonzo Approved by: kib (mentor)
This commit is contained in:
parent
db8409e00a
commit
477f6d2e17
1 changed files with 1 additions and 3 deletions
|
|
@ -54,8 +54,6 @@
|
|||
#define KEEPALIVE_VER 1
|
||||
#define KEEPALIVE_VER_MIN KEEPALIVE_VER
|
||||
|
||||
MALLOC_DEFINE(M_VCHIQ, "vchiq_cdev", "VideoCore cdev memroy");
|
||||
|
||||
/* Run time control of log level, based on KERN_XXX level. */
|
||||
int vchiq_arm_log_level = VCHIQ_LOG_DEFAULT;
|
||||
int vchiq_susp_log_level = VCHIQ_LOG_ERROR;
|
||||
|
|
@ -1143,7 +1141,7 @@ static void
|
|||
instance_dtr(void *data)
|
||||
{
|
||||
|
||||
free(data, M_VCHIQ);
|
||||
kfree(data);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
Loading…
Reference in a new issue