Skip to content

Commit

Permalink
aoe: cleanup: remove unused ata_scnt function
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Ed Cashin authored and Linus Torvalds committed Dec 18, 2012
1 parent 90a2508 commit d437962
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/block/aoe/aoecmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,16 +552,6 @@ sthtith(struct aoedev *d)
return 1;
}

static inline unsigned char
ata_scnt(unsigned char *packet) {
struct aoe_hdr *h;
struct aoe_atahdr *ah;

h = (struct aoe_hdr *) packet;
ah = (struct aoe_atahdr *) (h+1);
return ah->scnt;
}

static void
rexmit_timer(ulong vp)
{
Expand Down

0 comments on commit d437962

Please sign in to comment.