crypto: tcrypt - Drop module name from print string
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Wed, 26 Oct 2022 19:16:15 +0000 (12:16 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Nov 2022 09:33:22 +0000 (17:33 +0800)
The pr_fmt() define includes KBUILD_MODNAME, and so there's no need
for pr_err() to also print it. Drop module name from the print string.

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c

index 78b236bc9cd81a6b4dd7bae4eae5da282cf47f15..40e72ec0f53782ec57592597e2679df4663199b3 100644 (file)
@@ -1329,8 +1329,7 @@ static void test_skcipher_speed(const char *algo, int enc, unsigned int secs,
 
        req = skcipher_request_alloc(tfm, GFP_KERNEL);
        if (!req) {
-               pr_err("tcrypt: skcipher: Failed to allocate request for %s\n",
-                      algo);
+               pr_err("skcipher: Failed to allocate request for %s\n", algo);
                goto out;
        }