]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
aoe: cleanup: remove unused ata_scnt function
authorEd Cashin <ecashin@coraid.com>
Sat, 3 Nov 2012 00:43:10 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Nov 2012 04:58:50 +0000 (15:58 +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)
 {