Commit ea31f0f6 authored by Holger Dengler's avatar Holger Dengler Committed by Vasily Gorbik

s390/ap_queue: Cleanup debug code

The dynamic debugging provides function names on request. So remove
all explicit function strings.
Reviewed-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
Signed-off-by: default avatarHolger Dengler <dengler@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent 391b8a6c
...@@ -171,8 +171,8 @@ static struct ap_queue_status ap_sm_recv(struct ap_queue *aq) ...@@ -171,8 +171,8 @@ static struct ap_queue_status ap_sm_recv(struct ap_queue *aq)
aq->queue_count = 0; aq->queue_count = 0;
list_splice_init(&aq->pendingq, &aq->requestq); list_splice_init(&aq->pendingq, &aq->requestq);
aq->requestq_count += aq->pendingq_count; aq->requestq_count += aq->pendingq_count;
pr_debug("%s queue 0x%02x.%04x rescheduled %d reqs (new req %d)\n", pr_debug("queue 0x%02x.%04x rescheduled %d reqs (new req %d)\n",
__func__, AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid), AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid),
aq->pendingq_count, aq->requestq_count); aq->pendingq_count, aq->requestq_count);
aq->pendingq_count = 0; aq->pendingq_count = 0;
break; break;
...@@ -453,8 +453,8 @@ static enum ap_sm_wait ap_sm_assoc_wait(struct ap_queue *aq) ...@@ -453,8 +453,8 @@ static enum ap_sm_wait ap_sm_assoc_wait(struct ap_queue *aq)
case AP_BS_Q_USABLE: case AP_BS_Q_USABLE:
/* association is through */ /* association is through */
aq->sm_state = AP_SM_STATE_IDLE; aq->sm_state = AP_SM_STATE_IDLE;
pr_debug("%s queue 0x%02x.%04x associated with %u\n", pr_debug("queue 0x%02x.%04x associated with %u\n",
__func__, AP_QID_CARD(aq->qid), AP_QID_CARD(aq->qid),
AP_QID_QUEUE(aq->qid), aq->assoc_idx); AP_QID_QUEUE(aq->qid), aq->assoc_idx);
return AP_SM_WAIT_NONE; return AP_SM_WAIT_NONE;
case AP_BS_Q_USABLE_NO_SECURE_KEY: case AP_BS_Q_USABLE_NO_SECURE_KEY:
...@@ -697,8 +697,8 @@ static ssize_t ap_functions_show(struct device *dev, ...@@ -697,8 +697,8 @@ static ssize_t ap_functions_show(struct device *dev,
status = ap_test_queue(aq->qid, 1, &hwinfo); status = ap_test_queue(aq->qid, 1, &hwinfo);
if (status.response_code > AP_RESPONSE_BUSY) { if (status.response_code > AP_RESPONSE_BUSY) {
pr_debug("%s RC 0x%02x on tapq(0x%02x.%04x)\n", pr_debug("RC 0x%02x on tapq(0x%02x.%04x)\n",
__func__, status.response_code, status.response_code,
AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
return -EIO; return -EIO;
} }
...@@ -853,8 +853,8 @@ static ssize_t se_bind_show(struct device *dev, ...@@ -853,8 +853,8 @@ static ssize_t se_bind_show(struct device *dev,
status = ap_test_queue(aq->qid, 1, &hwinfo); status = ap_test_queue(aq->qid, 1, &hwinfo);
if (status.response_code > AP_RESPONSE_BUSY) { if (status.response_code > AP_RESPONSE_BUSY) {
pr_debug("%s RC 0x%02x on tapq(0x%02x.%04x)\n", pr_debug("RC 0x%02x on tapq(0x%02x.%04x)\n",
__func__, status.response_code, status.response_code,
AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
return -EIO; return -EIO;
} }
...@@ -981,8 +981,8 @@ static ssize_t se_associate_show(struct device *dev, ...@@ -981,8 +981,8 @@ static ssize_t se_associate_show(struct device *dev,
status = ap_test_queue(aq->qid, 1, &hwinfo); status = ap_test_queue(aq->qid, 1, &hwinfo);
if (status.response_code > AP_RESPONSE_BUSY) { if (status.response_code > AP_RESPONSE_BUSY) {
pr_debug("%s RC 0x%02x on tapq(0x%02x.%04x)\n", pr_debug("RC 0x%02x on tapq(0x%02x.%04x)\n",
__func__, status.response_code, status.response_code,
AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid)); AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
return -EIO; return -EIO;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment