From: Ed Cashin Date: Thu, 25 Oct 2012 01:15:23 +0000 (+1100) Subject: aoe: cleanup: remove unused ata_scnt function X-Git-Tag: next-20121029~1^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fdad3dd4b199d601c128250276884cb8823c715c;p=karo-tx-linux.git aoe: cleanup: remove unused ata_scnt function Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton --- diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index 2bb8c7d3d617..82e16c4cfe21 100644 --- a/drivers/block/aoe/aoecmd.c +++ b/drivers/block/aoe/aoecmd.c @@ -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) {