Date: Mon, 23 Nov 2015 13:23:54 +0000 (UTC) From: Svatopluk Kraus <skra@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291200 - head/sys/contrib/vchiq/interface/vchiq_arm Message-ID: <201511231323.tANDNsUr073978@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: skra Date: Mon Nov 23 13:23:53 2015 New Revision: 291200 URL: https://svnweb.freebsd.org/changeset/base/291200 Log: 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) Modified: head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c Modified: head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c ============================================================================== --- head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c Mon Nov 23 12:55:37 2015 (r291199) +++ head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c Mon Nov 23 13:23:53 2015 (r291200) @@ -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); } /****************************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511231323.tANDNsUr073978>