summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-01-20 13:58:11 +0000
committerJosé Fonseca <[email protected]>2014-01-20 13:58:11 +0000
commitf0c2662b126c90912c9b8adf6c3be07024dfe69e (patch)
treeee32a3418ca812ba0dcc73f81821fb66a1673280
parentd43260b59e1db8261bf581f5316d7634b7102ff6 (diff)
logger: Remove unused variable.
Silences gcc "unused variable ‘buf’" warning. Trivial.
-rw-r--r--src/loader/loader.c1
1 files changed, 0 insertions, 1 deletions
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;