diff options
| author | Srinivasan Shanmugam <[email protected]> | 2023-07-26 07:11:17 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-27 18:59:29 +0000 |
| commit | 6cf20211fc59fcb0bf9b05d4c703cb1e93b167a1 (patch) | |
| tree | 5928f24df64628abc03b744271caf4b79ead71a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c | |
| parent | drm/amdgpu/discovery: enable PSP 14.0.0 support (diff) | |
| download | kernel-6cf20211fc59fcb0bf9b05d4c703cb1e93b167a1.tar.gz kernel-6cf20211fc59fcb0bf9b05d4c703cb1e93b167a1.zip | |
drm/amdgpu: Fix unnecessary else after return in 'amdgpu_eeprom_xfer'
Fixes the following:
WARNING: else is not generally useful after a break or return
+ return -EINVAL;
+ } else {
Cc: Guchun Chen <[email protected]>
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c')
0 files changed, 0 insertions, 0 deletions
