staging: slicoss: remove not used UPDATE_STATS macro
This patch remove UPDATE_STATS macro from header slic.h which is not being used. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e0d648151d
commit
4dc0e9832b
@ -548,14 +548,6 @@ static inline void slic_flush_write(struct adapter *adapter)
|
||||
ioread32(adapter->regs + SLIC_REG_HOSTID);
|
||||
}
|
||||
|
||||
#define UPDATE_STATS(largestat, newstat, oldstat) \
|
||||
{ \
|
||||
if ((newstat) < (oldstat)) \
|
||||
(largestat) += ((newstat) + (0xFFFFFFFF - oldstat + 1)); \
|
||||
else \
|
||||
(largestat) += ((newstat) - (oldstat)); \
|
||||
}
|
||||
|
||||
#define UPDATE_STATS_GB(largestat, newstat, oldstat) \
|
||||
{ \
|
||||
(largestat) += ((newstat) - (oldstat)); \
|
||||
|
Loading…
Reference in New Issue
Block a user