OpenCloudOS-Kernel/drivers/staging/dgap
Lidza Louina fcfeef6c51 staging: dgap: tty.c: removes smatch warnings "redundant null check"
This patch removes these smatch warnings:
redundant null check on dgap_TmpWriteBuf calling kfree()
redundant null check on brd->SerialDriver->ttys calling kfree()
redundant null check on brd->PrintDriver->ttys calling kfree()

The code checked to see if these variables are null
before freeing. This check isn't needed.

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-25 16:18:10 -07:00
..
Kconfig
Makefile drivers: staging: dgap: move DG_NAME and DG_PART from "Makefile" to "dgap_driver.h" 2013-09-25 16:09:24 -07:00
dgap_conf.h
dgap_downld.h staging: dgap: Fix typo in staging/dgap 2013-09-17 07:47:46 -07:00
dgap_driver.c staging: dgap: driver.c: removes smatch warning "redundant null check" 2013-09-25 16:09:24 -07:00
dgap_driver.h drivers: staging: dgap: move DG_NAME and DG_PART from "Makefile" to "dgap_driver.h" 2013-09-25 16:09:24 -07:00
dgap_fep5.c staging: dgap: removes proc.h 2013-08-23 09:52:02 -07:00
dgap_fep5.h staging: dgap: Fix typo in staging/dgap 2013-09-17 07:47:46 -07:00
dgap_kcompat.h staging: dgap: Remove version check in dgap_kcompat.h 2013-09-17 07:47:43 -07:00
dgap_parse.c staging: dgap: Fix typo in staging/dgap 2013-09-17 07:47:46 -07:00
dgap_parse.h
dgap_pci.h
dgap_sysfs.c staging: dgap: Remove casting the return value which is a void pointer 2013-09-17 07:47:43 -07:00
dgap_sysfs.h
dgap_trace.c staging: dgap: Remove version.h header inclusion in dgap_trace.c 2013-08-28 15:15:45 -07:00
dgap_trace.h
dgap_tty.c staging: dgap: tty.c: removes smatch warnings "redundant null check" 2013-09-25 16:18:10 -07:00
dgap_tty.h
dgap_types.h
digi.h staging: dgap: Fix typo in staging/dgap 2013-09-17 07:47:46 -07:00
downld.c staging: dgap: Fix typo in staging/dgap 2013-09-17 07:47:46 -07:00