diff options
| author | Colin Ian King <[email protected]> | 2019-06-14 09:43:11 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-06-23 05:02:01 +0000 |
| commit | 65bbdd49b4722a09901469e57497850311c017dc (patch) | |
| tree | 36cfb4d672f4a69b925afc57203490d6a892e7c1 /drivers/fpga/of-fpga-region.c | |
| parent | ABI: sysfs-driver-mlxreg-io: fix the what fields (diff) | |
| download | kernel-65bbdd49b4722a09901469e57497850311c017dc.tar.gz kernel-65bbdd49b4722a09901469e57497850311c017dc.zip | |
lkdtm: remove redundant initialization of ret
The variable ret is being initialized with the value -EINVAL however
this value is never read and ret is being re-assigned later on. Hence
the initialization is redundant and can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Kees Cook <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/of-fpga-region.c')
0 files changed, 0 insertions, 0 deletions
