diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-08-17 06:42:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-14 16:36:20 +0300 |
commit | 99aeebe8140c642cdf2c3822b1dcbd37433fe770 (patch) | |
tree | b0bcedcce6c388ebb47a03f91552ad9693647b35 /drivers/misc/ad525x_dpot-spi.c | |
parent | 2e6ae11dd0d1c37f44cec51a58fb2092e55ed0f5 (diff) | |
download | linux-99aeebe8140c642cdf2c3822b1dcbd37433fe770.tar.xz |
misc: sgi-xp: remove meaningless null check before kfree
kfree has taken null pointer into account. so check the null pointer
before kfree is meaningless.
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Robin Holt <robinmholt@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot-spi.c')
0 files changed, 0 insertions, 0 deletions