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_phy.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_phy.c')
-rw-r--r-- | lwis_phy.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -26,13 +26,11 @@ struct lwis_phy_list *lwis_phy_list_alloc(int count) list = kmalloc(sizeof(struct lwis_phy_list), GFP_KERNEL); if (!list) { - pr_err("Failed to allocate PHY list\n"); return ERR_PTR(-ENOMEM); } list->phy = kzalloc(count * sizeof(struct phy), GFP_KERNEL); if (!list->phy) { - pr_err("Failed to allocate PHY instances\n"); kfree(list); return ERR_PTR(-ENOMEM); } |