diff options
author | Svatopluk Kraus <skra@FreeBSD.org> | 2015-11-23 13:23:53 +0000 |
---|---|---|
committer | Svatopluk Kraus <skra@FreeBSD.org> | 2015-11-23 13:23:53 +0000 |
commit | 477f6d2e17803fbc354c4d5e504da5be216bcfd2 (patch) | |
tree | 0c647d63b0c7ff6000cadd5b3a6dc653d4527226 | |
parent | db8409e00a74dafa62eddc5a7ee6980ff006e93d (diff) | |
download | src-477f6d2e17803fbc354c4d5e504da5be216bcfd2.tar.gz src-477f6d2e17803fbc354c4d5e504da5be216bcfd2.zip |
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)
Notes
Notes:
svn path=/head/; revision=291200
-rw-r--r-- | sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c index 556ddf619778..5bd50591e212 100644 --- a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c +++ b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c @@ -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); } /**************************************************************************** |