Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 744ea922 authored by Roland Dreier's avatar Roland Dreier
Browse files

mlx4_core: Kill mlx4_write64_raw()


    
It's a leftover from development that's never used in the real driver.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 4fa43501
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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)
{
@@ -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)
{