]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
thunderbolt: Remove superfluous check
authorBernat, Yehezkel <yehezkel.bernat@intel.com>
Tue, 15 Aug 2017 05:19:01 +0000 (08:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 14:21:32 +0000 (16:21 +0200)
commit8fdd6ab36197ad891233572c57781b1f537da0ac
treeb18a925fc91b53d49bf9e51953ab163b8178ed5e
parent0875957e4bdd61d7969c47e29dab8769c9ab2cf9
thunderbolt: Remove superfluous check

The key size is tested by hex2bin() already (as '\0' isn't an hex digit)

Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Yehezkel Bernat <yehezkel.bernat@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/switch.c