diff options
| author | Lidza Louina <lidza.louina@gmail.com> | 2013-09-23 18:47:15 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-25 16:18:10 -0700 |
| commit | fcfeef6c5144c3759f84edafd24eb4e74343c820 (patch) | |
| tree | 7ae3d7f57e0e241c9097777edd3c9dd6288857d3 /scripts/patch-kernel | |
| parent | 913b6f8e0dccadb1189e945d7438047d59efe785 (diff) | |
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>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
