[PATCH 1/4] lib/sort: Remove unused pr_fmt macro
From: Kuan-Wei Chiu
Date: Mon May 27 2024 - 16:30:38 EST
The pr_fmt macro is defined but not used in lib/sort.c. Since there are
no pr_* functions printing any messages, the pr_fmt macro is redundant
and can be safely removed.
Signed-off-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
---
lib/sort.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/sort.c b/lib/sort.c
index a0509088f82a..651b73205f6d 100644
--- a/lib/sort.c
+++ b/lib/sort.c
@@ -10,8 +10,6 @@
* quicksort's O(n^2) worst case.
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
#include <linux/types.h>
#include <linux/export.h>
#include <linux/sort.h>
--
2.34.1