Ver código fonte

ipa: Remove unneeded warning

If userspace commands to delete last rule in a routing table,
then a an empty table may be commited. This is possible case,
so no warning is needed.

Change-Id: I04b6a9d3bdcaf28f35046c328e46a2719680d2a1
Signed-off-by: Ilia Lin <[email protected]>
Ilia Lin 3 anos atrás
pai
commit
01285ef741
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      drivers/platform/msm/ipa/ipa_v3/ipa_rt.c

+ 0 - 1
drivers/platform/msm/ipa/ipa_v3/ipa_rt.c

@@ -337,7 +337,6 @@ static int ipa_prep_rt_tbl_for_cmt(enum ipa_ip_type ip,
 
 	if ((tbl->sz[IPA_RULE_HASHABLE] +
 		tbl->sz[IPA_RULE_NON_HASHABLE]) == 0) {
-		WARN_ON_RATELIMIT_IPA(1);
 		IPAERR_RL("rt tbl %s is with zero total size\n", tbl->name);
 	}