]> asedeno.scripts.mit.edu Git - linux.git/commit
thunderbolt: Drop unnecessary read when writing LC command in Ice Lake
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 16 Sep 2019 14:03:03 +0000 (17:03 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 8 Oct 2019 09:08:21 +0000 (12:08 +0300)
commit747125db6dcd8bcc21f13d013f6e6a2acade21ee
treed2db55ace2e534037ecc60867741fed91f48bf3b
parent6f6709734274aef75058356e029d5e8f86d0d53b
thunderbolt: Drop unnecessary read when writing LC command in Ice Lake

The read is not needed as we overwrite the returned value in the next
line anyway so drop it.

Fixes: 3cdb9446a117 ("thunderbolt: Add support for Intel Ice Lake")
Reported-by: Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/nhi_ops.c