linux/drivers/scsi/aic7xxx
Alex Dewar d1ec20a55f scsi: aic7xxx: Remove unnecessary NULL checks before kfree
There are a number of places in the aic7xxx driver where a NULL check is
performed before a kfree(). However, kfree() already performs NULL checks
so this is unnecessary. Remove the checks.

Issue identified with Coccinelle.

Link: https://lore.kernel.org/r/20200403164712.49579-1-alex.dewar@gmx.co.uk
Signed-off-by: Alex Dewar <alex.dewar@gmx.co.uk>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-04-24 12:48:48 -04:00
..
aicasm scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
aic7xxx_93cx6.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_93cx6.h
aic7xxx_core.c scsi: aic7xxx: Remove unnecessary NULL checks before kfree 2020-04-24 12:48:48 -04:00
aic7xxx_inline.h
aic7xxx_osm_pci.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
aic7xxx_osm.c scsi: simplify scsi_partsize 2020-03-24 07:57:07 -06:00
aic7xxx_osm.h
aic7xxx_pci.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_pci.h
aic7xxx_proc.c
aic7xxx_reg_print.c_shipped
aic7xxx_reg.h_shipped
aic7xxx_seq.h_shipped
aic7xxx.h scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aic7xxx.reg scsi: aic7xxx: Spelling s/configuraion/configuration/ 2019-06-18 19:46:25 -04:00
aic7xxx.seq
aic79xx_core.c scsi: aic7xxx: Remove unnecessary NULL checks before kfree 2020-04-24 12:48:48 -04:00
aic79xx_inline.h
aic79xx_osm_pci.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
aic79xx_osm.c scsi: simplify scsi_partsize 2020-03-24 07:57:07 -06:00
aic79xx_osm.h
aic79xx_pci.c scsi: aic7xxx: remove set but not used variable 'shared_scb_data' 2018-09-17 02:34:16 -04:00
aic79xx_pci.h
aic79xx_proc.c
aic79xx_reg_print.c_shipped
aic79xx_reg.h_shipped
aic79xx_seq.h_shipped
aic79xx.h scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic79xx.reg
aic79xx.seq
aic7770_osm.c scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aic7770.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aiclib.h
cam.h
Kconfig.aic7xxx scsi: docs: convert aic7xxx.txt to ReST 2020-03-11 23:07:58 -04:00
Kconfig.aic79xx scsi: docs: convert aic79xx.txt to ReST 2020-03-11 23:07:58 -04:00
Makefile scsi: remove unneeded header search paths 2019-01-29 01:22:21 -05:00
queue.h
scsi_iu.h
scsi_message.h