summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-05-31 18:00:53 +0400
committerRoland Dreier <rolandd@cisco.com>2010-07-20 00:09:40 +0400
commitc1d7356c8572f3fe0445336d8e75914bdcadad59 (patch)
tree245a663df0966bfd28596bea1e9dd2bc38933ae6 /drivers/infiniband
parent589643be6693c46fbc54bae77745f336c8ed4bcc (diff)
downloadlinux-c1d7356c8572f3fe0445336d8e75914bdcadad59.tar.xz
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)
{
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;