From: José Fonseca Date: Mon, 20 Jan 2014 13:58:11 +0000 (+0000) Subject: logger: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0c2662b126c90912c9b8adf6c3be07024dfe69e;p=mesa.git logger: Remove unused variable. Silences gcc "unused variable ‘buf’" warning. Trivial. --- diff --git a/src/loader/loader.c b/src/loader/loader.c index 1b24c04840c..a5bd7692e6e 100644 --- a/src/loader/loader.c +++ b/src/loader/loader.c @@ -118,7 +118,6 @@ loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id) { struct udev *udev = NULL; struct udev_device *device = NULL, *parent; - struct stat buf; const char *pci_id; *chip_id = -1;