Skip to contentSkip to conversation

MIPS: rtlx: Remove unnecessary KERN_DEBUG in rtlx.c

PATCH New Masanari Iida 1 participant 1 message Oct 7, 2014 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: rtlx: Remove unnecessary KERN_DEBUG in rtlx.c

This patch remove unnecessary KERNL_DEBUG in pr_debug() within rtlx.c.

---
 arch/mips/kernel/rtlx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/mips/kernel/rtlx.c +2 -2
index 31b1b76..c5c4fd5 100644
@@ -94,12 +94,12 @@ int rtlx_open(int index, int can_sleep)
 	int ret = 0;
 
 	if (index >= RTLX_CHANNELS) {
-		pr_debug(KERN_DEBUG "rtlx_open index out of range\n");
+		pr_debug("rtlx_open index out of range\n");
 		return -ENOSYS;
 	}
 
 	if (atomic_inc_return(&channel_wqs[index].in_open) > 1) {
-		pr_debug(KERN_DEBUG "rtlx_open channel %d already opened\n", index);
+		pr_debug("rtlx_open channel %d already opened\n", index);
 		ret = -EBUSY;
 		goto out_fail;
 	}
Signature · 1 line
2.1.1.273.g97b8860