]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ptp: ocp: Remove #ifdefs around PCI IDs
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 19 May 2022 21:21:45 +0000 (14:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 May 2022 18:39:53 +0000 (11:39 -0700)
These #ifdefs are not required, so remove them.

Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c

index 957c0522a02f56ebf611aa357a772d712df6c314..d2cdb2a05c36057549f013cd5c482de5d556380c 100644 (file)
 #include <linux/mtd/mtd.h>
 #include <linux/nvmem-consumer.h>
 
-#ifndef PCI_VENDOR_ID_FACEBOOK
-#define PCI_VENDOR_ID_FACEBOOK 0x1d9b
-#endif
-
-#ifndef PCI_DEVICE_ID_FACEBOOK_TIMECARD
-#define PCI_DEVICE_ID_FACEBOOK_TIMECARD 0x0400
-#endif
+#define PCI_VENDOR_ID_FACEBOOK                 0x1d9b
+#define PCI_DEVICE_ID_FACEBOOK_TIMECARD                0x0400
 
 static struct class timecard_class = {
        .owner          = THIS_MODULE,