Staging: i4l: pcbit: edss1: Use !x instead of x == NULL.
Use !x instead of x == NULL. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f3fe438db2
commit
f2cef3f2db
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user