]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aoe: cleanup: remove unused ata_scnt function
authorEd Cashin <ecashin@coraid.com>
Thu, 25 Oct 2012 01:15:23 +0000 (12:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Nov 2012 05:01:04 +0000 (16:01 +1100)
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/block/aoe/aoecmd.c

index 2bb8c7d3d617a51c3c9ae3a38c38b51e6ada1081..82e16c4cfe210ba77f089033c6ec8eb32d2f1206 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)
 {