[PATCH 2/3] Remove unused local variable 'path'.

Michel Dänzer michel at daenzer.net
Tue Dec 11 03:11:00 PST 2012


From: Michel Dänzer <michel.daenzer at amd.com>

../../src/radeon_probe.c: In function 'radeon_platform_probe':
../../src/radeon_probe.c:270:11: error: unused variable 'path' [-Werror=unused-variable]

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/radeon_probe.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/src/radeon_probe.c b/src/radeon_probe.c
index 2533357..5f372c7 100644
--- a/src/radeon_probe.c
+++ b/src/radeon_probe.c
@@ -267,7 +267,6 @@ radeon_platform_probe(DriverPtr pDriver,
 		      intptr_t match_data)
 {
     ScrnInfoPtr pScrn;
-    char *path = xf86_get_platform_device_attrib(dev, ODEV_ATTRIB_PATH);
     int scr_flags = 0;
     EntityInfoPtr pEnt;
 
-- 
1.7.10.4



More information about the xorg-driver-ati mailing list