提交 fb67f445 编写于 作者: G Gulsah Kose 提交者: Greg Kroah-Hartman

staging: media: lirc: Removed unnecessary else expression.

This patch fixes "else is not generally useful after a break or return"
checkpatch.pl warning lirc_parallel.c
Signed-off-by: NGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 dbc5a5b6
......@@ -177,10 +177,9 @@ static unsigned int init_lirc_timer(void)
pr_notice("using default timer: %u Hz\n",
default_timer);
return default_timer;
} else {
pr_info("%u Hz timer detected\n", newtimer);
return newtimer; /* use detected value */
}
pr_info("%u Hz timer detected\n", newtimer);
return newtimer; /* use detected value */
}
pr_notice("no timer detected\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册