summaryrefslogtreecommitdiff
path: root/kernel/trace/rv/monitors/wwnr/wwnr.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/rv/monitors/wwnr/wwnr.c')
-rw-r--r--kernel/trace/rv/monitors/wwnr/wwnr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/trace/rv/monitors/wwnr/wwnr.c b/kernel/trace/rv/monitors/wwnr/wwnr.c
index 172f31c4b0f3..4145bea2729e 100644
--- a/kernel/trace/rv/monitors/wwnr/wwnr.c
+++ b/kernel/trace/rv/monitors/wwnr/wwnr.c
@@ -70,8 +70,7 @@ static struct rv_monitor rv_wwnr = {
static int __init register_wwnr(void)
{
- rv_register_monitor(&rv_wwnr, NULL);
- return 0;
+ return rv_register_monitor(&rv_wwnr, NULL);
}
static void __exit unregister_wwnr(void)