diff options
author | zhanghongtao <zhanghongtao22@huawei.com> | 2022-08-01 16:20:28 +0800 |
---|---|---|
committer | zhanghongtao <zhanghongtao22@huawei.com> | 2022-08-01 16:20:28 +0800 |
commit | a8abf913ad6b60492ef7b6ae512c4f879604a6a7 (patch) | |
tree | 2b0f198fca0fc6891a4eb5c5169be6d4a7151b1b /src | |
parent | ab475c645ff9fc40e18af739eb4b81a5eb7f783c (diff) |
Delete redundant symbols ';'
Signed-off-by: zhanghongtao <zhanghongtao22@huawei.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/linux_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c index d79404e..1b4051b 100644 --- a/src/linux_sysfs.c +++ b/src/linux_sysfs.c @@ -981,7 +981,7 @@ pci_device_linux_sysfs_map_legacy(struct pci_device *dev, pciaddr_t base, int ret=0; if (map_flags & PCI_DEV_MAP_FLAG_WRITABLE) { - flags = O_RDWR; /* O_RDWR != O_WRONLY | O_RDONLY */; + flags = O_RDWR; /* O_RDWR != O_WRONLY | O_RDONLY */ prot |= PROT_WRITE; } |