]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
s390/ap_queue: Cleanup debug code
authorHolger Dengler <dengler@linux.ibm.com>
Tue, 16 Jul 2024 12:16:36 +0000 (14:16 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2024 14:17:00 +0000 (16:17 +0200)
The dynamic debugging provides function names on request. So remove
all explicit function strings.

Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/ap_queue.c

index 1f647ffd6f4db933f8526f1f6f52c7e3c1e3ade5..8c878c5aa31fd72c73889eb35aa213a82a1930bb 100644 (file)
@@ -171,8 +171,8 @@ static struct ap_queue_status ap_sm_recv(struct ap_queue *aq)
                aq->queue_count = 0;
                list_splice_init(&aq->pendingq, &aq->requestq);
                aq->requestq_count += aq->pendingq_count;
-               pr_debug("%s queue 0x%02x.%04x rescheduled %d reqs (new req %d)\n",
-                        __func__, AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid),
+               pr_debug("queue 0x%02x.%04x rescheduled %d reqs (new req %d)\n",
+                        AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid),
                         aq->pendingq_count, aq->requestq_count);
                aq->pendingq_count = 0;
                break;
@@ -453,8 +453,8 @@ static enum ap_sm_wait ap_sm_assoc_wait(struct ap_queue *aq)
        case AP_BS_Q_USABLE:
                /* association is through */
                aq->sm_state = AP_SM_STATE_IDLE;
-               pr_debug("%s queue 0x%02x.%04x associated with %u\n",
-                        __func__, AP_QID_CARD(aq->qid),
+               pr_debug("queue 0x%02x.%04x associated with %u\n",
+                        AP_QID_CARD(aq->qid),
                         AP_QID_QUEUE(aq->qid), aq->assoc_idx);
                return AP_SM_WAIT_NONE;
        case AP_BS_Q_USABLE_NO_SECURE_KEY:
@@ -697,8 +697,8 @@ static ssize_t ap_functions_show(struct device *dev,
 
        status = ap_test_queue(aq->qid, 1, &hwinfo);
        if (status.response_code > AP_RESPONSE_BUSY) {
-               pr_debug("%s RC 0x%02x on tapq(0x%02x.%04x)\n",
-                        __func__, status.response_code,
+               pr_debug("RC 0x%02x on tapq(0x%02x.%04x)\n",
+                        status.response_code,
                         AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
                return -EIO;
        }
@@ -853,8 +853,8 @@ static ssize_t se_bind_show(struct device *dev,
 
        status = ap_test_queue(aq->qid, 1, &hwinfo);
        if (status.response_code > AP_RESPONSE_BUSY) {
-               pr_debug("%s RC 0x%02x on tapq(0x%02x.%04x)\n",
-                        __func__, status.response_code,
+               pr_debug("RC 0x%02x on tapq(0x%02x.%04x)\n",
+                        status.response_code,
                         AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
                return -EIO;
        }
@@ -981,8 +981,8 @@ static ssize_t se_associate_show(struct device *dev,
 
        status = ap_test_queue(aq->qid, 1, &hwinfo);
        if (status.response_code > AP_RESPONSE_BUSY) {
-               pr_debug("%s RC 0x%02x on tapq(0x%02x.%04x)\n",
-                        __func__, status.response_code,
+               pr_debug("RC 0x%02x on tapq(0x%02x.%04x)\n",
+                        status.response_code,
                         AP_QID_CARD(aq->qid), AP_QID_QUEUE(aq->qid));
                return -EIO;
        }