summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2017-12-19 22:07:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-21 20:22:07 +0300
commit37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2 (patch)
treeceba517fd390bde53629b088e0265add788015dc /include/linux
parent16e1b4ebfbc27a15fabaad64a2d3344360654c9c (diff)
downloadlinux-37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2.tar.xz
Staging: rtl8723bs: Do not check for NOT NULL before kfree()
Do not check for NOT NULL before calling kfree because if the pointer is NULL, no action occurs. Done using the following semantic patch by coccinelle. @@ expression ptr; @@ - if (ptr != NULL) kfree(ptr); Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions