提交 f2cef3f2 编写于 作者: S Sandhya Bankar 提交者: Greg Kroah-Hartman

Staging: i4l: pcbit: edss1: Use !x instead of x == NULL.

Use !x instead of x == NULL.
Signed-off-by: NSandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 f3fe438d
......@@ -254,7 +254,7 @@ static void pcbit_fsm_timer(unsigned long data)
dev = chan2dev(chan);
if (dev == NULL) {
if (!dev) {
printk(KERN_WARNING "pcbit: timer for unknown device\n");
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册