summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-12-17 16:03:37 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 17:15:24 -0800
commitd437962504462f31515344d58cdcaf0b73b389b5 (patch)
tree5eaca3f39e94936af66baea69c1f4cdc1c0ecc0c /drivers/block/aoe
parent90a2508d01845afbb3118615ce44d689cbb0e943 (diff)
downloadop-kernel-dev-d437962504462f31515344d58cdcaf0b73b389b5.zip
op-kernel-dev-d437962504462f31515344d58cdcaf0b73b389b5.tar.gz
aoe: cleanup: remove unused ata_scnt function
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>
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r--drivers/block/aoe/aoecmd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c
index a6e95e6..df86a05 100644
--- a/drivers/block/aoe/aoecmd.c
+++ b/drivers/block/aoe/aoecmd.c
@@ -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)
{
OpenPOWER on IntegriCloud