Skip to content

Commit

Permalink
mlx4_core: Kill mlx4_write64_raw()
Browse files Browse the repository at this point in the history
    
It's a leftover from development that's never used in the real driver.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Roland Dreier committed Oct 15, 2007
1 parent 4fa4350 commit 744ea92
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions include/linux/mlx4/doorbell.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
#define MLX4_INIT_DOORBELL_LOCK(ptr) do { } while (0)
#define MLX4_GET_DOORBELL_LOCK(ptr) (NULL)

static inline void mlx4_write64_raw(__be64 val, void __iomem *dest)
{
__raw_writeq((__force u64) val, dest);
}

static inline void mlx4_write64(__be32 val[2], void __iomem *dest,
spinlock_t *doorbell_lock)
{
Expand All @@ -75,12 +70,6 @@ static inline void mlx4_write64(__be32 val[2], void __iomem *dest,
#define MLX4_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr)
#define MLX4_GET_DOORBELL_LOCK(ptr) (ptr)

static inline void mlx4_write64_raw(__be64 val, void __iomem *dest)
{
__raw_writel(((__force u32 *) &val)[0], dest);
__raw_writel(((__force u32 *) &val)[1], dest + 4);
}

static inline void mlx4_write64(__be32 val[2], void __iomem *dest,
spinlock_t *doorbell_lock)
{
Expand Down

0 comments on commit 744ea92

Please sign in to comment.