aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-31 10:00:53 -0400
committerRoland Dreier <rolandd@cisco.com>2010-07-19 16:09:40 -0400
commitc1d7356c8572f3fe0445336d8e75914bdcadad59 (patch)
tree245a663df0966bfd28596bea1e9dd2bc38933ae6 /drivers/infiniband
parent589643be6693c46fbc54bae77745f336c8ed4bcc (diff)
RDMA/cxgb4: Remove unneeded assignment
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 855ee44fdb52..b5e676c61096 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -2244,7 +2244,7 @@ static void process_work(struct work_struct *work)
2244{ 2244{
2245 struct sk_buff *skb = NULL; 2245 struct sk_buff *skb = NULL;
2246 struct c4iw_dev *dev; 2246 struct c4iw_dev *dev;
2247 struct cpl_act_establish *rpl = cplhdr(skb); 2247 struct cpl_act_establish *rpl;
2248 unsigned int opcode; 2248 unsigned int opcode;
2249 int ret; 2249 int ret;
2250 2250