diff options
| author | Tomer Tayar <ttayar@habana.ai> | 2022-06-24 13:05:23 +0300 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-07-12 09:09:26 +0300 |
| commit | a74cf4a8f61bcb82a4c9b7c8d29f29f003b826ae (patch) | |
| tree | bb24851e3ba872afa0b2d2647496f71f094f4bf0 /lib/mpi/mpi-sub-ui.c | |
| parent | be882e534f02dd200e222f9cf312e6a39cf1f7c8 (diff) | |
habanalabs: remove dead code from free_device_memory()
free_device_memory() ends with if and else, each has a return statement,
followed by another return statement that can never be reached.
Restructure the function and remove this dead code.
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
