From: Jonathan Lemon Date: Thu, 19 May 2022 21:21:45 +0000 (-0700) Subject: ptp: ocp: Remove #ifdefs around PCI IDs X-Git-Tag: v6.1-rc5~1274^2^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a35e53a11bcde88ea89cbf839771e6af4681daf;p=platform%2Fkernel%2Flinux-starfive.git ptp: ocp: Remove #ifdefs around PCI IDs These #ifdefs are not required, so remove them. Suggested-by: Jakub Kicinski Signed-off-by: Jonathan Lemon Signed-off-by: Jakub Kicinski --- diff --git a/drivers/ptp/ptp_ocp.c b/drivers/ptp/ptp_ocp.c index 957c052..d2cdb2a 100644 --- a/drivers/ptp/ptp_ocp.c +++ b/drivers/ptp/ptp_ocp.c @@ -20,13 +20,8 @@ #include #include -#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,