[PATCH -next] drm/amd/pm: Remove unneeded semicolon

Alex Deucher alexdeucher at gmail.com
Thu Dec 14 15:26:56 UTC 2023


Applied.  Thanks!

On Wed, Dec 13, 2023 at 8:02 PM Yang Li <yang.lee at linux.alibaba.com> wrote:
>
> ./drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c:1418:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci at linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7743
> Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> index d409857fd622..c16703868e5c 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
> @@ -1415,7 +1415,7 @@ static int smu_wbrf_event_handler(struct notifier_block *nb,
>                 break;
>         default:
>                 return NOTIFY_DONE;
> -       };
> +       }
>
>         return NOTIFY_OK;
>  }
> --
> 2.20.1.7.g153144c
>


More information about the dri-devel mailing list