Skip to contentSkip to conversation

watchdog: dw: remove useless pr_fmt

PATCH In review Jisheng Zhang 2 participants 2 messages Jan 25, 2019 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: dw: remove useless pr_fmt

When switch to watchdog infrastructure, pr_* usage is removed, so there's no any users of the pr_fmt, remove it.

---
 drivers/watchdog/dw_wdt.c | 2 --
 1 file changed, 2 deletions(-)
drivers/watchdog/dw_wdt.c +0 -2
index c053c2de5c2f..0ce8fa5cfbf4 100644
@@ -16,8 +16,6 @@
  * heartbeat requests after the watchdog device has been closed.
  */
 
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
 #include <linux/bitops.h>
 #include <linux/clk.h>
 #include <linux/delay.h>
Signature · 1 line
2.20.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jisheng Zhang

When switch to watchdog infrastructure, pr_* usage is removed, so there's no any users of the pr_fmt, remove it.

Quoted 18 lines
---
  drivers/watchdog/dw_wdt.c | 2 --
  1 file changed, 2 deletions(-)
drivers/watchdog/dw_wdt.c +0 -2
index c053c2de5c2f..0ce8fa5cfbf4 100644
@@ -16,8 +16,6 @@
   * heartbeat requests after the watchdog device has been closed.
   */
 
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
  #include <linux/bitops.h>
  #include <linux/clk.h>
  #include <linux/delay.h>