Commit 2c768b8b authored by Anchal Jain's avatar Anchal Jain Committed by Greg Kroah-Hartman
Browse files

staging: media: lirc: lirc_bt829: Remove explicit NULL comparison



Remove explicit NULL comparison and write it in its simpler form.

Signed-off-by: default avatarAnchal Jain <anchalj109@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1fed320a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);