From 0bb0015d0b8802bff2cf33b5b6404951388860d3 Mon Sep 17 00:00:00 2001 From: Ed Cashin Date: Fri, 9 Nov 2012 14:05:14 +1100 Subject: [PATCH] aoe: cleanup: remove unused ata_scnt function Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton --- drivers/block/aoe/aoecmd.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index a6e95e69296c..df86a05067e8 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) { -- 2.39.5