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 <eric@anholt.net>
Signed-off-by: Thierry Reding <treding@nvidia.com>
main
Thierry Reding 2014-04-08 22:33:04 +02:00
parent 3d7a51e43e
commit 303ff26311
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ static int drmOpenByBusid(const char *busid)
sv.drm_di_minor = 1; sv.drm_di_minor = 1;
sv.drm_dd_major = -1; /* Don't care */ sv.drm_dd_major = -1; /* Don't care */
sv.drm_dd_minor = -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); drmSetInterfaceVersion(fd, &sv);
} }
buf = drmGetBusid(fd); buf = drmGetBusid(fd);