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:
Svatopluk Kraus 2015-11-23 13:23:53 +00:00
parent db8409e00a
commit 477f6d2e17

View file

@ -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);
}
/****************************************************************************