Skip to content

Commit

Permalink
Staging: slicoss: remove WRITE_REG wrapper
Browse files Browse the repository at this point in the history
It's not needed, so just call the function instead of using a define.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent 28980a3 commit 62f691a
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 107 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/slicoss/slic_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,5 @@
#ifndef _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_ */

2 changes: 0 additions & 2 deletions drivers/staging/slicoss/slicinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ static void slic_xmit_fail(struct adapter *adapter,
static void slic_config_pci(struct pci_dev *pcidev);
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
static struct net_device_stats *slic_get_stats(struct net_device *dev);
#endif
Expand Down
Loading

0 comments on commit 62f691a

Please sign in to comment.