linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lib/sort: Remove unused pr_fmt
@ 2020-05-16  6:52 Shaokun Zhang
  0 siblings, 0 replies; only message in thread
From: Shaokun Zhang @ 2020-05-16  6:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Shaokun Zhang, Kostenzer Felix, Andrew Morton

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

Cc: Kostenzer Felix <fkostenzer@live.at>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-16  6:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16  6:52 [PATCH] lib/sort: Remove unused pr_fmt Shaokun Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).