RDMA/cxgb4: Remove unneeded assignment
authorDan Carpenter <error27@gmail.com>
Mon, 31 May 2010 14:00:53 +0000 (14:00 +0000)
committerRoland Dreier <rolandd@cisco.com>
Mon, 19 Jul 2010 20:09:40 +0000 (13:09 -0700)
We don't need to assign rpl here, we do that later on.

Signed-off-by: Dan Carpenter <error27@gmail.com>
[ Indeed this assignment makes no sense, since skb is set to NULL a
  couple of lines before.  - Roland ]

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb4/cm.c

index 855ee44..b5e676c 100644 (file)
@@ -2244,7 +2244,7 @@ static void process_work(struct work_struct *work)
 {
        struct sk_buff *skb = NULL;
        struct c4iw_dev *dev;
-       struct cpl_act_establish *rpl = cplhdr(skb);
+       struct cpl_act_establish *rpl;
        unsigned int opcode;
        int ret;