diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 09:31:15 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-11-08 18:59:00 +0100 |
commit | 819af2a6765a39767717ea349a3d274ba723abf4 (patch) | |
tree | 2e3d9d11877e007d8015b2fe802f94638826b154 /drivers/gpu/drm/mgag200 | |
parent | 4178bd5a3c57e107b3df5e17de6dc60cb3890647 (diff) | |
download | lwn-819af2a6765a39767717ea349a3d274ba723abf4.tar.gz lwn-819af2a6765a39767717ea349a3d274ba723abf4.zip |
drm: remove unneeded break
A break is not needed if it is preceded by a return or break
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201019163115.25814-1-trix@redhat.com
Diffstat (limited to 'drivers/gpu/drm/mgag200')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_mode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c index 38672f9e5c4f..bbe4e60dfd08 100644 --- a/drivers/gpu/drm/mgag200/mgag200_mode.c +++ b/drivers/gpu/drm/mgag200/mgag200_mode.c @@ -794,21 +794,16 @@ static int mgag200_crtc_set_plls(struct mga_device *mdev, long clock) case G200_SE_A: case G200_SE_B: return mga_g200se_set_plls(mdev, clock); - break; case G200_WB: case G200_EW3: return mga_g200wb_set_plls(mdev, clock); - break; case G200_EV: return mga_g200ev_set_plls(mdev, clock); - break; case G200_EH: case G200_EH3: return mga_g200eh_set_plls(mdev, clock); - break; case G200_ER: return mga_g200er_set_plls(mdev, clock); - break; } misc = RREG8(MGA_MISC_IN); |