diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-18 01:03:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 02:15:24 +0100 |
commit | d437962504462f31515344d58cdcaf0b73b389b5 (patch) | |
tree | 5eaca3f39e94936af66baea69c1f4cdc1c0ecc0c /drivers | |
parent | aoe: "payload" sysfs file exports per-AoE-command data transfer size (diff) | |
download | linux-d437962504462f31515344d58cdcaf0b73b389b5.tar.xz linux-d437962504462f31515344d58cdcaf0b73b389b5.zip |
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')
-rw-r--r-- | drivers/block/aoe/aoecmd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c index a6e95e69296c..df86a05067e8 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) { |