diff options
Diffstat (limited to 'drivers/firewire/ohci.c')
-rw-r--r-- | drivers/firewire/ohci.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index aff9018d0658..f51d376d10ba 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c | |||
@@ -718,11 +718,6 @@ static inline unsigned int ar_next_buffer_index(unsigned int index) | |||
718 | return (index + 1) % AR_BUFFERS; | 718 | return (index + 1) % AR_BUFFERS; |
719 | } | 719 | } |
720 | 720 | ||
721 | static inline unsigned int ar_prev_buffer_index(unsigned int index) | ||
722 | { | ||
723 | return (index - 1 + AR_BUFFERS) % AR_BUFFERS; | ||
724 | } | ||
725 | |||
726 | static inline unsigned int ar_first_buffer_index(struct ar_context *ctx) | 721 | static inline unsigned int ar_first_buffer_index(struct ar_context *ctx) |
727 | { | 722 | { |
728 | return ar_next_buffer_index(ctx->last_buffer_index); | 723 | return ar_next_buffer_index(ctx->last_buffer_index); |