]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/zcrypt_msgtype50: Cleanup debug code
authorHolger Dengler <dengler@linux.ibm.com>
Tue, 16 Jul 2024 12:16:38 +0000 (14:16 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 21 Aug 2024 14:17:01 +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/zcrypt_msgtype50.c

index 3b39cb8f926dbd3731999ac242636c8715dcd762..adc65eddaa1e38d5449a29c4800bc91c03e6eae3 100644 (file)
@@ -427,7 +427,7 @@ static void zcrypt_msgtype50_receive(struct ap_queue *aq,
                len = t80h->len;
                if (len > reply->bufsize || len > msg->bufsize ||
                    len != reply->len) {
-                       pr_debug("%s len mismatch => EMSGSIZE\n", __func__);
+                       pr_debug("len mismatch => EMSGSIZE\n");
                        msg->rc = -EMSGSIZE;
                        goto out;
                }
@@ -487,8 +487,8 @@ static long zcrypt_msgtype50_modexpo(struct zcrypt_queue *zq,
 out:
        ap_msg->private = NULL;
        if (rc)
-               pr_debug("%s send me cprb at dev=%02x.%04x rc=%d\n",
-                        __func__, AP_QID_CARD(zq->queue->qid),
+               pr_debug("send me cprb at dev=%02x.%04x rc=%d\n",
+                        AP_QID_CARD(zq->queue->qid),
                         AP_QID_QUEUE(zq->queue->qid), rc);
        return rc;
 }
@@ -537,8 +537,8 @@ static long zcrypt_msgtype50_modexpo_crt(struct zcrypt_queue *zq,
 out:
        ap_msg->private = NULL;
        if (rc)
-               pr_debug("%s send crt cprb at dev=%02x.%04x rc=%d\n",
-                        __func__, AP_QID_CARD(zq->queue->qid),
+               pr_debug("send crt cprb at dev=%02x.%04x rc=%d\n",
+                        AP_QID_CARD(zq->queue->qid),
                         AP_QID_QUEUE(zq->queue->qid), rc);
        return rc;
 }