]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aoe: cleanup: remove unused ata_scnt function
authorEd Cashin <ecashin@coraid.com>
Fri, 9 Nov 2012 03:05:14 +0000 (14:05 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Nov 2012 04:17:34 +0000 (15:17 +1100)
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@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)
 {