mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-26 12:47:53 +00:00
staging: media: lirc: lirc_bt829: Remove explicit NULL comparison
Remove explicit NULL comparison and write it in its simpler form. Signed-off-by: Anchal Jain <anchalj109@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1fed320aae
commit
2c768b8bfb
@ -120,7 +120,7 @@ int init_module(void)
|
||||
int rc;
|
||||
|
||||
pdev = do_pci_probe();
|
||||
if (pdev == NULL)
|
||||
if (!pdev)
|
||||
return -ENODEV;
|
||||
|
||||
rc = pci_enable_device(pdev);
|
||||
|
Loading…
x
Reference in New Issue
Block a user