From 303ff26311dc5efdf28676be34d86f501699acf3 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Tue, 8 Apr 2014 22:33:04 +0200 Subject: [PATCH] libdrm: Remove extraneous parameter The debug message's format string doesn't contain any conversion specifiers, therefore making the fd argument unused. Reviewed-by: Eric Anholt Signed-off-by: Thierry Reding --- xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xf86drm.c b/xf86drm.c index fa5701ab..e94f2cd0 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -503,7 +503,7 @@ static int drmOpenByBusid(const char *busid) sv.drm_di_minor = 1; sv.drm_dd_major = -1; /* Don't care */ sv.drm_dd_minor = -1; /* Don't care */ - drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n",fd); + drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n"); drmSetInterfaceVersion(fd, &sv); } buf = drmGetBusid(fd);