Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: typec: Remove one bit support for the Thunderbolt rounded/non-rounded cable

Two bits support for the Thunderbolt rounded/non-rounded cable has been
added to the header file.
Hence, removing unused TBT_CABLE_ROUNDED definition from the header file.

Signed-off-by: Utkarsh Patel <utkarsh.h.patel@intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
--
changes in v2:
- Removed the fixes tag as there is no functional implication.
--
Link: https://lore.kernel.org/r/20201113202503.6559-5-utkarsh.h.patel@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Utkarsh Patel and committed by
Greg Kroah-Hartman
523a97aa c4f81392

-1
-1
include/linux/usb/typec_tbt.h
··· 39 39 #define TBT_CABLE_USB3_GEN1 1 40 40 #define TBT_CABLE_USB3_PASSIVE 2 41 41 #define TBT_CABLE_10_AND_20GBPS 3 42 - #define TBT_CABLE_ROUNDED BIT(19) 43 42 #define TBT_CABLE_ROUNDED_SUPPORT(_vdo_) \ 44 43 (((_vdo_) & GENMASK(20, 19)) >> 19) 45 44 #define TBT_GEN3_NON_ROUNDED 0