diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-03-04 12:44:48 +0100 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2021-03-18 16:25:31 +0100 |
commit | 5cfdd300b7b1e6f2390cf0d71040a8c26297bef7 (patch) | |
tree | a68f548512f8f5e669e648a7525dfe27da2cd7de /drivers/thunderbolt/tb.h | |
parent | thunderbolt: Use dedicated flow control for DMA tunnels (diff) | |
download | linux-5cfdd300b7b1e6f2390cf0d71040a8c26297bef7.tar.xz linux-5cfdd300b7b1e6f2390cf0d71040a8c26297bef7.zip |
thunderbolt: Drop unused tb_port_set_initial_credits()
This function is not used anymore in the driver so we can remove it.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb.h')
-rw-r--r-- | drivers/thunderbolt/tb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thunderbolt/tb.h b/drivers/thunderbolt/tb.h index a2a401876c2e..56f6a3f13678 100644 --- a/drivers/thunderbolt/tb.h +++ b/drivers/thunderbolt/tb.h @@ -834,7 +834,6 @@ static inline bool tb_switch_tmu_is_enabled(const struct tb_switch *sw) int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged); int tb_port_add_nfc_credits(struct tb_port *port, int credits); -int tb_port_set_initial_credits(struct tb_port *port, u32 credits); int tb_port_clear_counter(struct tb_port *port, int counter); int tb_port_unlock(struct tb_port *port); int tb_port_enable(struct tb_port *port); |