[PATCH] dma-buf: Clean up errors in qxl_release.h
From: GuoHua Chen
Date: Thu Jan 11 2024 - 02:10:18 EST
Fix the following errors reported by checkpatch:
ERROR: else should follow close brace '}'
Signed-off-by: GuoHua Chen <chenguohua_716@xxxxxxx>
---
drivers/gpu/drm/qxl/qxl_release.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c
index 368d26da0d6a..7f7aa7a62629 100644
--- a/drivers/gpu/drm/qxl/qxl_release.c
+++ b/drivers/gpu/drm/qxl/qxl_release.c
@@ -299,8 +299,7 @@ int qxl_alloc_release_reserved(struct qxl_device *qdev, unsigned long size,
} else if (type == QXL_RELEASE_CURSOR_CMD) {
cur_idx = 2;
priority = 1;
- }
- else {
+ } else {
DRM_ERROR("got illegal type: %d\n", type);
return -EINVAL;
}
--
2.17.1