aoe: cleanup: remove unused ata_scnt function
authorEd Cashin <ecashin@coraid.com>
Tue, 18 Dec 2012 00:03:37 +0000 (16:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:24 +0000 (17:15 -0800)
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>
drivers/block/aoe/aoecmd.c

index a6e95e6..df86a05 100644 (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)
 {