瀏覽代碼

msm: ipa: Remove redundant error logs and warning logs

Removing Error logs and Warning logs from rndis and PM module.

Change-Id: Ie993b1d1fe0936eb75bb90c54bf62fd5a848fc5f
SIgned-off-by: Michael Adisumarta <[email protected]>
Michael Adisumarta 3 年之前
父節點
當前提交
e83b209ad3
共有 2 個文件被更改,包括 0 次插入7 次删除
  1. 0 1
      drivers/platform/msm/ipa/ipa_clients/rndis_ipa.c
  2. 0 6
      drivers/platform/msm/ipa/ipa_v3/ipa_pm.c

+ 0 - 1
drivers/platform/msm/ipa/ipa_clients/rndis_ipa.c

@@ -2436,7 +2436,6 @@ static void rndis_ipa_debugfs_init(struct rndis_ipa_dev *rndis_ipa_ctx)
 	debugfs_create_u8
 		("aggr_type", flags_read_write,
 		aggr_directory, (u8 *)&ipa_to_usb_ep_cfg.aggr.aggr);
-		RNDIS_IPA_ERROR("could not create aggr_type file\n");
 
 	debugfs_create_u32
 		("aggr_byte_limit", flags_read_write,

+ 0 - 6
drivers/platform/msm/ipa/ipa_v3/ipa_pm.c

@@ -444,9 +444,6 @@ static void activate_work_func(struct work_struct *work)
 	if (client->callback) {
 		client->callback(client->callback_params,
 			IPA_PM_CLIENT_ACTIVATED);
-	} else {
-		IPA_PM_ERR_RL("client has no callback");
-		WARN_ON_RATELIMIT_IPA(1);
 	}
 	mutex_unlock(&ipa_pm_ctx->client_mutex);
 
@@ -1256,9 +1253,6 @@ int ipa_pm_handle_suspend(u32 pipe_bitmask, u32 pipe_arr_idx)
 					client->callback(client->callback_params
 						, IPA_PM_REQUEST_WAKEUP);
 					client_notified[client->hdl] = true;
-				} else {
-					IPA_PM_ERR("client has no callback");
-					WARN_ON(1);
 				}
 			}
 		}