- if (evt_struct->crq.format == VIOSRP_SRP_FORMAT) {
- request_status =
- atomic_dec_if_positive(&hostdata->request_limit);
- /* If request limit was -1 when we started, it is now even
- * less than that
- */
- if (request_status < -1)
- goto send_error;
- /* Otherwise, if we have run out of requests */
- else if (request_status < 0)
- goto send_busy;
- }
+ if ((evt_struct->crq.format == VIOSRP_SRP_FORMAT) &&
+ (atomic_dec_if_positive(&hostdata->request_limit) < 0))
+ goto send_error;