Commit 59c8f32f authored by Flavio Santes's avatar Flavio Santes Committed by Andrew Boie
Browse files

x86/soc: Add ARG_UNUSED macro to avoid compiler warnings



The ARG_UNUSED macro is added to avoid compiler warnings.

Change-Id: If0242548849ee5b258bb3fce9fd727b377411343
Signed-off-by: default avatarFlavio Santes <flavio.santes@intel.com>
parent 935c447a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -76,6 +76,8 @@

static inline int pci_pin2irq(int bus, int dev, int pin)
{
	ARG_UNUSED(bus);

	if ((pin < PCI_INTA) || (pin > PCI_INTD))
		return -1;
	return 10 + (((pin + dev - 1) >> 1) & 1);