aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/slicoss/slic.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h
index 1f6562c691fc..2c05868827c6 100644
--- a/drivers/staging/slicoss/slic.h
+++ b/drivers/staging/slicoss/slic.h
@@ -548,14 +548,6 @@ static inline void slic_flush_write(struct adapter *adapter)
548 ioread32(adapter->regs + SLIC_REG_HOSTID); 548 ioread32(adapter->regs + SLIC_REG_HOSTID);
549} 549}
550 550
551#define UPDATE_STATS(largestat, newstat, oldstat) \
552{ \
553 if ((newstat) < (oldstat)) \
554 (largestat) += ((newstat) + (0xFFFFFFFF - oldstat + 1)); \
555 else \
556 (largestat) += ((newstat) - (oldstat)); \
557}
558
559#define UPDATE_STATS_GB(largestat, newstat, oldstat) \ 551#define UPDATE_STATS_GB(largestat, newstat, oldstat) \
560{ \ 552{ \
561 (largestat) += ((newstat) - (oldstat)); \ 553 (largestat) += ((newstat) - (oldstat)); \