<pre class="js_message_plain ng-binding" style="margin-top: 0px; margin-bottom: 0px; font-family: inherit; font-size: 14px; white-space: pre-wrap; word-break: normal; background-color: #ffffff;">Friendly ping. I think this patch was forgotten.</pre>
<p><br>----</p>
<div id="cs2c_mail_sigature"></div>
<p> </p>
<div id="re" style="margin-left: 0.5em; padding-left: 0.5em; border-left: 1px solid green;"><br><br><br>
<div style="background-color: #f5f7fa;"><strong>主 题:</strong><span id="subject">[PATCH] drm/qxl: remove unused declaration</span> <br><strong>日 期:</strong><span id="date">2023-11-10 13:50</span> <br><strong>发件人:</strong><span id="from">何敏红</span> <br><strong>收件人:</strong><span id="to" style="word-break: break-all;">airlied;kraxel;maarten.lankhorst;mripard;tzimmermann;airlied;daniel;</span></div>
<br>
<div id="content">
<div class="viewer_part" style="position: relative;">
<div>Some functions are never used by the driver,<br>removing the functions declaration, it can be reducing program size,<br>and improving code readability and maintainability.<br><br>Signed-off-by: heminhong <br>---<br>drivers/gpu/drm/qxl/qxl_drv.h | 7 -------<br>1 file changed, 7 deletions(-)<br><br>diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h<br>index 307a890fde13..32069acd93f8 100644<br>--- a/drivers/gpu/drm/qxl/qxl_drv.h<br>+++ b/drivers/gpu/drm/qxl/qxl_drv.h<br>@@ -119,7 +119,6 @@ struct qxl_output {<br><br>#define to_qxl_crtc(x) container_of(x, struct qxl_crtc, base)<br>#define drm_connector_to_qxl_output(x) container_of(x, struct qxl_output, base)<br>-#define drm_encoder_to_qxl_output(x) container_of(x, struct qxl_output, enc)<br><br>struct qxl_mman {<br>struct ttm_device bdev;<br>@@ -256,8 +255,6 @@ struct qxl_device {<br><br>#define to_qxl(dev) container_of(dev, struct qxl_device, ddev)<br><br>-int qxl_debugfs_fence_init(struct qxl_device *rdev);<br>-<br>int qxl_device_init(struct qxl_device *qdev, struct pci_dev *pdev);<br>void qxl_device_fini(struct qxl_device *qdev);<br><br>@@ -344,8 +341,6 @@ qxl_image_alloc_objects(struct qxl_device *qdev,<br>int height, int stride);<br>void qxl_image_free_objects(struct qxl_device *qdev, struct qxl_drm_image *dimage);<br><br>-void qxl_update_screen(struct qxl_device *qxl);<br>-<br>/* qxl io operations (qxl_cmd.c) */<br><br>void qxl_io_create_primary(struct qxl_device *qdev,<br>@@ -445,8 +440,6 @@ int qxl_hw_surface_dealloc(struct qxl_device *qdev,<br><br>int qxl_bo_check_id(struct qxl_device *qdev, struct qxl_bo *bo);<br><br>-struct qxl_drv_surface *<br>-qxl_surface_lookup(struct drm_device *dev, int surface_id);<br>void qxl_surface_evict(struct qxl_device *qdev, struct qxl_bo *surf, bool freeing);<br><br>/* qxl_ioctl.c */<br>-- <br>2.25.1<br><br></div>
</div>
</div>
</div>