diff options
author | Joe Lawrence <joe.lawrence@stratus.com> | 2014-06-25 17:06:02 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 17:16:57 -0400 |
commit | 5074b1b60edd47e0ce4485e57990f7ca75c3e67e (patch) | |
tree | e65147968416fa7b241fbfad44bb3efdc7ee46f9 /drivers/message/fusion/mptctl.c | |
parent | 5767d25f0d0933ebba111dfb6ae5c820add8d8e4 (diff) | |
download | blackbird-op-linux-5074b1b60edd47e0ce4485e57990f7ca75c3e67e.tar.gz blackbird-op-linux-5074b1b60edd47e0ce4485e57990f7ca75c3e67e.zip |
mptfusion: remove redundant kfree checks
Fixes the following smatch warnings:
drivers/message/fusion/mptfc.c:529 mptfc_target_destroy() info:
redundant null check on starget->hostdata calling kfree()
drivers/message/fusion/mptspi.c:465 mptspi_target_destroy() info:
redundant null check on starget->hostdata calling kfree()
Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/message/fusion/mptctl.c')
0 files changed, 0 insertions, 0 deletions