Эх сурвалжийг харах

Merge "msm: ipa: Remove redundant error logs and warning logs"

qctecmdr 3 жил өмнө
parent
commit
0a34c2f044

+ 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);
 				}
 			}
 		}