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 a6e95e69296c7a6090e945e91f473753968e9f9b..df86a05067e823344c4406f2cb36cc691eb7ab53 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)
 {