Commit 3dc4bf31 authored by Masanari Iida's avatar Masanari Iida Committed by Ralf Baechle

MIPS: rtlx: Remove KERN_DEBUG from pr_debug() arguments in rtlx.c

Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7938/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent a54b8b08
...@@ -94,12 +94,12 @@ int rtlx_open(int index, int can_sleep) ...@@ -94,12 +94,12 @@ int rtlx_open(int index, int can_sleep)
int ret = 0; int ret = 0;
if (index >= RTLX_CHANNELS) { 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; return -ENOSYS;
} }
if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { 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; ret = -EBUSY;
goto out_fail; goto out_fail;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment