aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoecmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/aoe/aoecmd.c')
-rw-r--r--drivers/block/aoe/aoecmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index 4d45dba7fb8f..d2515435e23f 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -380,7 +380,6 @@ aoecmd_ata_rw(struct aoedev *d)
380{ 380{
381 struct frame *f; 381 struct frame *f;
382 struct buf *buf; 382 struct buf *buf;
383 struct aoetgt *t;
384 struct sk_buff *skb; 383 struct sk_buff *skb;
385 struct sk_buff_head queue; 384 struct sk_buff_head queue;
386 ulong bcnt, fbcnt; 385 ulong bcnt, fbcnt;
@@ -391,7 +390,6 @@ aoecmd_ata_rw(struct aoedev *d)
391 f = newframe(d); 390 f = newframe(d);
392 if (f == NULL) 391 if (f == NULL)
393 return 0; 392 return 0;
394 t = *d->tgt;
395 bcnt = d->maxbcnt; 393 bcnt = d->maxbcnt;
396 if (bcnt == 0) 394 if (bcnt == 0)
397 bcnt = DEFAULTBCNT; 395 bcnt = DEFAULTBCNT;
@@ -485,7 +483,6 @@ resend(struct aoedev *d, struct frame *f)
485 struct sk_buff *skb; 483 struct sk_buff *skb;
486 struct sk_buff_head queue; 484 struct sk_buff_head queue;
487 struct aoe_hdr *h; 485 struct aoe_hdr *h;
488 struct aoe_atahdr *ah;
489 struct aoetgt *t; 486 struct aoetgt *t;
490 char buf[128]; 487 char buf[128];
491 u32 n; 488 u32 n;
@@ -500,7 +497,6 @@ resend(struct aoedev *d, struct frame *f)
500 return; 497 return;
501 } 498 }
502 h = (struct aoe_hdr *) skb_mac_header(skb); 499 h = (struct aoe_hdr *) skb_mac_header(skb);
503 ah = (struct aoe_atahdr *) (h+1);
504 500
505 if (!(f->flags & FFL_PROBE)) { 501 if (!(f->flags & FFL_PROBE)) {
506 snprintf(buf, sizeof(buf), 502 snprintf(buf, sizeof(buf),