Skip to content

Commit

Permalink
ptp: ocp: Remove #ifdefs around PCI IDs
Browse files Browse the repository at this point in the history
These #ifdefs are not required, so remove them.

Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Jonathan Lemon <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
jlemon authored and kuba-moo committed May 24, 2022
1 parent 8119c9e commit 3a35e53
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions drivers/ptp/ptp_ocp.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,8 @@
#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,
Expand Down

0 comments on commit 3a35e53

Please sign in to comment.