diff options
author | Edmond Chung <edmondchung@google.com> | 2023-06-09 17:47:26 -0700 |
---|---|---|
committer | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-06-13 14:59:16 +0000 |
commit | 549ad5034c14919cea58daf43e6f784dcd243dd0 (patch) | |
tree | 68ee70ad276609c14eadc53328a39babd05182c9 /lwis_fence.c | |
parent | 601b73a5cf88feb18fad42698e0423c21bc9ce4a (diff) | |
download | lwis-549ad5034c14919cea58daf43e6f784dcd243dd0.tar.gz |
Remove unnecessary error logs from kmalloc
Bug: 286438999
Test: Build
Change-Id: I02f0b13dd9f3b934eec345d98c61ef6e0e65fe5f
Signed-off-by: Edmond Chung <edmondchung@google.com>
Diffstat (limited to 'lwis_fence.c')
-rw-r--r-- | lwis_fence.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lwis_fence.c b/lwis_fence.c index 0afa073..125a893 100644 --- a/lwis_fence.c +++ b/lwis_fence.c @@ -221,7 +221,6 @@ int lwis_fence_create(struct lwis_device *lwis_dev) /* Allocate a new instance of lwis_fence struct */ new_fence = kmalloc(sizeof(struct lwis_fence), GFP_ATOMIC); if (!new_fence) { - dev_err(lwis_dev->dev, "Failed to allocate lwis_fence at creating new fence\n"); return -ENOMEM; } @@ -264,7 +263,6 @@ transaction_list_create(struct lwis_fence *fence, struct lwis_client *owner) struct lwis_fence_trigger_transaction_list *tx_list = kmalloc(sizeof(struct lwis_fence_trigger_transaction_list), GFP_ATOMIC); if (!tx_list) { - dev_err(fence->lwis_top_dev->dev, "Cannot allocate new event list\n"); return NULL; } tx_list->owner = owner; @@ -312,8 +310,6 @@ static int lwis_trigger_fence_add_transaction(int fence_fd, struct lwis_client * pending_transaction_id = kmalloc(sizeof(struct lwis_pending_transaction_id), GFP_ATOMIC); if (!pending_transaction_id) { fput(fp); - dev_err(client->lwis_dev->dev, - "Failed to allocate lwis_pending_transaction_id at adding transactions to fence\n"); return -ENOMEM; } pending_transaction_id->id = transaction->info.id; @@ -615,8 +611,6 @@ struct lwis_fence_pending_signal *lwis_fence_pending_signal_create(struct lwis_f struct lwis_fence_pending_signal *pending_fence_signal = kmalloc(sizeof(struct lwis_fence_pending_signal), GFP_ATOMIC); if (!pending_fence_signal) { - dev_err(fence->lwis_top_dev->dev, - "Cannot allocate new fence pending signal list\n"); return NULL; } pending_fence_signal->fp = fp; |