diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-18 11:22:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-18 11:22:38 -0500 |
commit | a5ac1fb13c1265f942ea1d24c43b42d76c1660c2 (patch) | |
tree | 3e801328ff13f41e6baf50254dd29bd148a8a719 /drivers/firewire/ohci.c | |
parent | 402521b8f7cc1f4f442418cc98ec6e37388207b0 (diff) | |
parent | d71e6a11737f4b3d857425a1d6f893231cbd1296 (diff) |
Merge tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
Pull fireware updates from Stefan Richter:
"IEEE 1394 subsystem updates:
- Replace made-up, unallocated Vendor and Model values of
firewire-core's Configuration ROM register root directory by
properly registered IDs. (These IDs are visible to peer nodes on
the bus and locally via sysfs, but they are not involved in
protocol matching or driver matching, nor are they used in stock
udev rules)
- Remove some unneccessary code"
* tag 'firewire-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
firewire: core: use correct vendor/model IDs
firewire: sbp2: remove redundant check for bidi command
firewire: ohci: Remove unused function
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); |