diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-10-25 13:12:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-26 09:56:58 +0100 |
commit | 160149299f71c36770be6e627f035bd2377ac3ab (patch) | |
tree | b6d1ac94b95311d75610cbc4e815eaf561254f39 /drivers/fpga/zynq-fpga.c | |
parent | 46e47543175b6784b02f7b587ef83b44fd2c8f7d (diff) |
IB/hfi1: Remove incorrect IS_ERR check
commit 2b16056f845207967a32497f41cf92b57849f934 upstream.
Remove IS_ERR check from caching code as the function being called does
not actually return error pointers.
Fixes: f19bd643dbde: "IB/hfi1: Prevent NULL pointer deferences in caching code"
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions