2020-05-16 06:55:43

by Zhangshaokun

[permalink] [raw]
Subject: [PATCH] lib/sort: Remove unused pr_fmt

No pr_* is called in sort.c, let's remove the unused pr_fmt macro.

Cc: Kostenzer Felix <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Shaokun Zhang <[email protected]>
---
lib/sort.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/lib/sort.c b/lib/sort.c
index 3ad454411997..99ecab8d6f41 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.7.4