MINOR: cache: Remove redundant test in http_action_req_cache_use

The suppressed check is fully covered by the next one and can then be
removed.
This commit is contained in:
Remi Tricot-Le Breton 2020-12-23 18:13:52 +01:00 committed by Willy Tarreau
parent 14df1e1526
commit 42efffd7f6

View File

@ -1767,9 +1767,6 @@ enum act_return http_action_req_cache_use(struct act_rule *rule, struct proxy *p
if (!sha1_hosturi(s))
return ACT_RET_CONT;
if ((s->txn->flags & (TX_CACHE_IGNORE|TX_CACHEABLE)) == TX_CACHE_IGNORE)
return ACT_RET_CONT;
if (s->txn->flags & TX_CACHE_IGNORE)
return ACT_RET_CONT;