mirror of
https://github.com/drasko/codezero.git
synced 2026-11-29 12:23:57 +01:00
Remove memcache verbose print
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ void *mem_cache_alloc(struct mem_cache *cache)
|
|||||||
{
|
{
|
||||||
int bit;
|
int bit;
|
||||||
int err;
|
int err;
|
||||||
printk("%s Called\n", __FUNCTION__);
|
|
||||||
if (cache->free > 0) {
|
if (cache->free > 0) {
|
||||||
if ((err = mutex_lock(&cache->mutex)) < 0)
|
if ((err = mutex_lock(&cache->mutex)) < 0)
|
||||||
return PTR_ERR(err); /* Interruptible mutex */
|
return PTR_ERR(err); /* Interruptible mutex */
|
||||||
|
|||||||
Reference in New Issue
Block a user