Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=20eebcf09c2d329e4dcdd765634c0a524195e16d
Commit:     20eebcf09c2d329e4dcdd765634c0a524195e16d
Parent:     f550d94cf9f86bc54e31dae2aee1a03d678c6e7f
Author:     Roland Dreier <[EMAIL PROTECTED]>
AuthorDate: Sun May 13 08:54:18 2007 -0700
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Sun May 13 08:54:18 2007 -0700

    mlx4_core: Remove unused doorbell_lock
    
    struct mlx4_priv.doorbell_lock is never used, so delete it.
    
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/net/mlx4/main.c |    2 --
 drivers/net/mlx4/mlx4.h |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/net/mlx4/main.c b/drivers/net/mlx4/main.c
index 4debb02..20b8c0d 100644
--- a/drivers/net/mlx4/main.c
+++ b/drivers/net/mlx4/main.c
@@ -542,8 +542,6 @@ static int __devinit mlx4_setup_hca(struct mlx4_dev *dev)
        struct mlx4_priv *priv = mlx4_priv(dev);
        int err;
 
-       MLX4_INIT_DOORBELL_LOCK(&priv->doorbell_lock);
-
        err = mlx4_init_uar_table(dev);
        if (err) {
                mlx4_err(dev, "Failed to initialize "
diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h
index 9befbae..3d3b6d2 100644
--- a/drivers/net/mlx4/mlx4.h
+++ b/drivers/net/mlx4/mlx4.h
@@ -275,7 +275,6 @@ struct mlx4_priv {
 
        struct mlx4_uar         driver_uar;
        void __iomem           *kar;
-       MLX4_DECLARE_DOORBELL_LOCK(doorbell_lock)
 
        u32                     rev_id;
        char                    board_id[MLX4_BOARD_ID_LEN];
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to