NULL check before freeing functions like kfree is not needed.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva
---
drivers/scsi/aic7xxx/aic7xxx_core.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
NULL check before freeing functions like kfree is not needed.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva
---
drivers/scsi/aic7xxx/aic7xxx_core.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
2 matches
Mail list logo