diff options
author | Martin Mareš <mj@ucw.cz> | 2023-12-08 19:38:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 19:38:28 +0100 |
commit | 43f1672f2d3ed4c79503454a2b4b8d5257f5f7d2 (patch) | |
tree | bab1babce64c4b4e3745aaab2c0c498bf32e3c5a | |
parent | 90d270fa720862ee357735b494a0b58643a27061 (diff) | |
parent | 878fea5235a68342dc8327ba4d28acbcc580dc74 (diff) | |
download | pciutils-43f1672f2d3ed4c79503454a2b4b8d5257f5f7d2.tar.gz |
Merge pull request #157 from pali/master
Fix compile warnings about unused variables
-rw-r--r-- | lib/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sysfs.c b/lib/sysfs.c index 8cab869..1bb4ae9 100644 --- a/lib/sysfs.c +++ b/lib/sysfs.c @@ -566,7 +566,7 @@ static int sysfs_write(struct pci_dev *d, int pos, byte *buf, int len) /* pread() is not available and do_read() only works for a single fd, so we * cannot implement read_vpd properly. */ -static int sysfs_read_vpd(struct pci_dev *d, int pos, byte *buf, int len) +static int sysfs_read_vpd(struct pci_dev *d UNUSED, int pos UNUSED, byte *buf UNUSED, int len UNUSED) { return 0; } |