linux/drivers/staging/comedi
Bhumika Goyal 25b80dbe3f Staging: comedi: drivers: Delete NULL check before pci_dev_put
The function pci_dev_put checks whether its argument is NULL and returns
immediately. Therefore, NULL test before the call if not needed.
Found using coccinelle:
@@
expression x;
@@

- if(x)
- pci_dev_put(x);
+ pci_dev_put(x);

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-13 14:51:53 +02:00
..
drivers Staging: comedi: drivers: Delete NULL check before pci_dev_put 2016-09-13 14:51:53 +02:00
kcomedilib
comedi_buf.c Staging: comedi: comedi_buf: Replace 'unsigned' with 'unsigned int' 2016-03-28 07:30:36 -07:00
comedi_compat32.c
comedi_compat32.h
comedi_fops.c staging: comedi: comedi_fops: coding style fixes 2016-09-13 14:51:53 +02:00
comedi_internal.h
comedi_pci.c
comedi_pci.h
comedi_pcmcia.c
comedi_pcmcia.h
comedi_usb.c
comedi_usb.h
comedi.h staging:comedi:Use unsigned int instead of unsigned 2016-06-17 20:43:07 -07:00
comedidev.h Staging: comedi: Fix 'unsigned' warning style 2016-03-29 12:45:23 -07:00
comedilib.h
drivers.c staging: comedi: drivers: fix possible bug in comedi_handle_events() 2016-03-30 21:04:53 -07:00
Kconfig
Makefile
proc.c
range.c
TODO comedi: note a coverity discovered hole that needs fixing 2016-03-05 14:56:55 -08:00