Commit 62f691a3 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: slicoss: remove WRITE_REG wrapper

It's not needed, so just call the function instead of using a define.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 28980a3c
...@@ -42,8 +42,5 @@ ...@@ -42,8 +42,5 @@
#ifndef _SLIC_OS_SPECIFIC_H_ #ifndef _SLIC_OS_SPECIFIC_H_
#define _SLIC_OS_SPECIFIC_H_ #define _SLIC_OS_SPECIFIC_H_
#define WRITE_REG(reg, value, flush) \
slic_reg32_write((&reg), (value), (flush))
#endif /* _SLIC_OS_SPECIFIC_H_ */ #endif /* _SLIC_OS_SPECIFIC_H_ */
...@@ -64,8 +64,6 @@ static void slic_xmit_fail(struct adapter *adapter, ...@@ -64,8 +64,6 @@ static void slic_xmit_fail(struct adapter *adapter,
static void slic_config_pci(struct pci_dev *pcidev); static void slic_config_pci(struct pci_dev *pcidev);
static struct sk_buff *slic_rcvqueue_getnext(struct adapter *adapter); static struct sk_buff *slic_rcvqueue_getnext(struct adapter *adapter);
static inline void slic_reg32_write(void __iomem *reg, u32 value, uint flush);
#if SLIC_GET_STATS_ENABLED #if SLIC_GET_STATS_ENABLED
static struct net_device_stats *slic_get_stats(struct net_device *dev); static struct net_device_stats *slic_get_stats(struct net_device *dev);
#endif #endif
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment