Commit 4c982482 authored by Shuah Khan's avatar Shuah Khan Committed by Greg Kroah-Hartman

usbip: usbip_event: fix to not print kernel pointer address

Fix it to not print kernel pointer address. Remove the conditional
and debug message as it isn't very useful.
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4bfb141b
...@@ -91,10 +91,6 @@ static void event_handler(struct work_struct *work) ...@@ -91,10 +91,6 @@ static void event_handler(struct work_struct *work)
unset_event(ud, USBIP_EH_UNUSABLE); unset_event(ud, USBIP_EH_UNUSABLE);
} }
/* Stop the error handler. */
if (ud->event & USBIP_EH_BYE)
usbip_dbg_eh("removed %p\n", ud);
wake_up(&ud->eh_waitq); wake_up(&ud->eh_waitq);
} }
} }
......
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