Skip to content

Commit

Permalink
NET: ns83820.c remove fastcall macro
Browse files Browse the repository at this point in the history
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
David Miller committed Jan 28, 2008
1 parent 49b11bc commit 7eefb04
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/net/ns83820.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,7 @@ static inline int rx_refill(struct net_device *ndev, gfp_t gfp)
return i ? 0 : -ENOMEM;
}

static void rx_refill_atomic(struct net_device *ndev);
static void fastcall rx_refill_atomic(struct net_device *ndev)
static void rx_refill_atomic(struct net_device *ndev)
{
rx_refill(ndev, GFP_ATOMIC);
}
Expand All @@ -633,7 +632,7 @@ static inline void clear_rx_desc(struct ns83820 *dev, unsigned i)
build_rx_desc(dev, dev->rx_info.descs + (DESC_SIZE * i), 0, 0, CMDSTS_OWN, 0);
}

static void fastcall phy_intr(struct net_device *ndev)
static void phy_intr(struct net_device *ndev)
{
struct ns83820 *dev = PRIV(ndev);
static const char *speeds[] = { "10", "100", "1000", "1000(?)", "1000F" };
Expand Down Expand Up @@ -831,7 +830,7 @@ static void ns83820_cleanup_rx(struct ns83820 *dev)
}
}

static void fastcall ns83820_rx_kick(struct net_device *ndev)
static void ns83820_rx_kick(struct net_device *ndev)
{
struct ns83820 *dev = PRIV(ndev);
/*if (nr_rx_empty(dev) >= NR_RX_DESC/4)*/ {
Expand All @@ -852,7 +851,7 @@ static void fastcall ns83820_rx_kick(struct net_device *ndev)
/* rx_irq
*
*/
static void fastcall rx_irq(struct net_device *ndev)
static void rx_irq(struct net_device *ndev)
{
struct ns83820 *dev = PRIV(ndev);
struct rx_info *info = &dev->rx_info;
Expand Down

0 comments on commit 7eefb04

Please sign in to comment.