aoe: cleanup: remove unused ata_scnt function

Signed-off-by: Ed Cashin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Ed Cashin 2012-12-17 16:03:37 -08:00 • committed by Linus Torvalds
commit d437962504

View file

@ -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)
{