aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/trigger/stm32-timer-trigger.c
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2017-12-20 00:37:45 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-21 18:22:07 +0100
commit37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2 (patch)
treeceba517fd390bde53629b088e0265add788015dc /drivers/iio/trigger/stm32-timer-trigger.c
parent16e1b4ebfbc27a15fabaad64a2d3344360654c9c (diff)
downloadlinux-37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2.tar.gz
linux-37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2.tar.bz2
linux-37edc1ccc9e1b61cbcfa8cc6bab463cba397bbe2.zip
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 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions