diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-12-17 19:03:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:24 -0500 |
commit | d437962504462f31515344d58cdcaf0b73b389b5 (patch) | |
tree | 5eaca3f39e94936af66baea69c1f4cdc1c0ecc0c /drivers/block | |
parent | 90a2508d01845afbb3118615ce44d689cbb0e943 (diff) |
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')
-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) | |||
552 | return 1; | 552 | return 1; |
553 | } | 553 | } |
554 | 554 | ||
555 | static inline unsigned char | ||
556 | ata_scnt(unsigned char *packet) { | ||
557 | struct aoe_hdr *h; | ||
558 | struct aoe_atahdr *ah; | ||
559 | |||
560 | h = (struct aoe_hdr *) packet; | ||
561 | ah = (struct aoe_atahdr *) (h+1); | ||
562 | return ah->scnt; | ||
563 | } | ||
564 | |||
565 | static void | 555 | static void |
566 | rexmit_timer(ulong vp) | 556 | rexmit_timer(ulong vp) |
567 | { | 557 | { |