Commit 42be7ca1 authored by Fabio M. De Francesco's avatar Fabio M. De Francesco Committed by Daniel Vetter
Browse files

drm/drm_bufs.c: In switch, add break in default case



Added a "break" in the default case of a switch select statement.
GCC complains, although this "break" is not strictly necessary
for the code to work as expected.

Signed-off-by: default avatarFabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210417161552.6571-1-fmdefrancesco@gmail.com
parent 7f5b1888
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ static struct drm_map_list *drm_find_matching_map(struct drm_device *dev,
				return entry;
			break;
		default: /* Make gcc happy */
			;
			break;
		}
		if (entry->map->offset == map->offset)
			return entry;