* drm/ttm: Fix unused variable warning
@ 2017-02-03 17:16 Kent Russell
[not found] ` <124f223e-07df-197e-6126-8787c8b06406-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Kent Russell @ 2017-02-03 17:16 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1: Type: text/plain, Size: 115 bytes --]
This cleans up a remnant from Christian's patch (drm/ttm: revert "add
optional LRU removal callback v2")
Kent
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-drm-ttm-Fix-unused-variable-warning.patch --]
[-- Type: text/x-patch; name="0001-drm-ttm-Fix-unused-variable-warning.patch", Size: 905 bytes --]
>From dfdf89a8dff0e378db6fa9578f75b02eec02ca0e Mon Sep 17 00:00:00 2001
From: Kent Russell <kent.russell-5C7GfCeVMHo@public.gmane.org>
Date: Tue, 31 Jan 2017 06:44:10 -0500
Subject: [PATCH] drm/ttm: Fix unused variable warning
Remove an unused variable in ttm_bo
Signed-off-by: Kent Russell <kent.russell-5C7GfCeVMHo@public.gmane.org>
Reviewed-by: Christian König <christian.koenig-5C7GfCeVMHo@public.gmane.org>
---
drivers/gpu/drm/ttm/ttm_bo.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index dfaeac4..bdb5812 100644
--- a/drivers/gpu/drm/ttm/ttm_bo.c
+++ b/drivers/gpu/drm/ttm/ttm_bo.c
@@ -230,7 +230,6 @@ EXPORT_SYMBOL(ttm_bo_del_sub_from_lru);
void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo)
{
- struct ttm_bo_device *bdev = bo->bdev;
int put_count = 0;
lockdep_assert_held(&bo->resv->lock.base);
--
2.7.4
[-- Attachment #3: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* drm/ttm: Fix unused variable warning
[not found] ` <124f223e-07df-197e-6126-8787c8b06406-5C7GfCeVMHo@public.gmane.org>
@ 2017-02-03 17:23 ` Kent Russell
[not found] ` <bf0f349e-adde-d20c-cfdc-ddf500c8df0d-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Kent Russell @ 2017-02-03 17:23 UTC (permalink / raw)
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1: Type: text/plain, Size: 115 bytes --]
This cleans up a remnant from Christian's patch (drm/ttm: revert "add
optional LRU removal callback v2")
Kent
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-drm-ttm-Fix-unused-variable-warning.patch --]
[-- Type: text/x-patch; name="0001-drm-ttm-Fix-unused-variable-warning.patch", Size: 906 bytes --]
>From dfdf89a8dff0e378db6fa9578f75b02eec02ca0e Mon Sep 17 00:00:00 2001
From: Kent Russell <kent.russell-5C7GfCeVMHo@public.gmane.org>
Date: Tue, 31 Jan 2017 06:44:10 -0500
Subject: [PATCH] drm/ttm: Fix unused variable warning
Remove an unused variable in ttm_bo
Signed-off-by: Kent Russell <kent.russell-5C7GfCeVMHo@public.gmane.org>
Reviewed-by: Christian König <christian.koenig-5C7GfCeVMHo@public.gmane.org>
---
drivers/gpu/drm/ttm/ttm_bo.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c
index dfaeac4..bdb5812 100644
--- a/drivers/gpu/drm/ttm/ttm_bo.c
+++ b/drivers/gpu/drm/ttm/ttm_bo.c
@@ -230,7 +230,6 @@ EXPORT_SYMBOL(ttm_bo_del_sub_from_lru);
void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo)
{
- struct ttm_bo_device *bdev = bo->bdev;
int put_count = 0;
lockdep_assert_held(&bo->resv->lock.base);
--
2.7.4
[-- Attachment #3: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: drm/ttm: Fix unused variable warning
[not found] ` <bf0f349e-adde-d20c-cfdc-ddf500c8df0d-5C7GfCeVMHo@public.gmane.org>
@ 2017-02-03 17:40 ` Alex Deucher
0 siblings, 0 replies; 3+ messages in thread
From: Alex Deucher @ 2017-02-03 17:40 UTC (permalink / raw)
To: Kent Russell; +Cc: Maling list - DRI developers, amd-gfx list
On Fri, Feb 3, 2017 at 12:23 PM, Kent Russell <kent.russell@amd.com> wrote:
> This cleans up a remnant from Christian's patch (drm/ttm: revert "add
> optional LRU removal callback v2")
>
> Kent
>
FWIW, I already squashed the same fix into the patch when it went
upstream. Feel free to apply to the internal trees however.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-03 17:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-03 17:16 drm/ttm: Fix unused variable warning Kent Russell
[not found] ` <124f223e-07df-197e-6126-8787c8b06406-5C7GfCeVMHo@public.gmane.org>
2017-02-03 17:23 ` Kent Russell
[not found] ` <bf0f349e-adde-d20c-cfdc-ddf500c8df0d-5C7GfCeVMHo@public.gmane.org>
2017-02-03 17:40 ` Alex Deucher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.