]> mj.ucw.cz Git - pciutils.git/commit
Fix compile warnings about unused variables
authorPali Rohár <pali@kernel.org>
Sun, 10 Sep 2023 16:48:16 +0000 (18:48 +0200)
committerPali Rohár <pali@kernel.org>
Sun, 10 Sep 2023 16:48:16 +0000 (18:48 +0200)
commit878fea5235a68342dc8327ba4d28acbcc580dc74
tree4c1071f9ca1d4f5100429c7c6404e2506721d96d
parentdb43fb5e8f2c04c409bdd06ac2c2828685038d69
Fix compile warnings about unused variables

sysfs.c: In function 'sysfs_read_vpd':
sysfs.c:569:43: warning: unused parameter 'd' [-Wunused-parameter]
 static int sysfs_read_vpd(struct pci_dev *d, int pos, byte *buf, int len)
                                           ^
sysfs.c:569:50: warning: unused parameter 'pos' [-Wunused-parameter]
 static int sysfs_read_vpd(struct pci_dev *d, int pos, byte *buf, int len)
                                                  ^~~
sysfs.c:569:61: warning: unused parameter 'buf' [-Wunused-parameter]
 static int sysfs_read_vpd(struct pci_dev *d, int pos, byte *buf, int len)
                                                             ^~~
sysfs.c:569:70: warning: unused parameter 'len' [-Wunused-parameter]
 static int sysfs_read_vpd(struct pci_dev *d, int pos, byte *buf, int len)
                                                                      ^~~
lib/sysfs.c