On Thu, Jan 28, 2021 at 08:52:33AM +0000, Lee Jones wrote: > ... and take the error path if it fails. > > Fixes the following W=1 kernel build warning(s): > > drivers/thunderbolt/dma_port.c: In function ‘dma_port_flash_write_block’: > drivers/thunderbolt/dma_port.c:331:6: warning: variable ‘ret’ set but not > used [-Wunused-but-set-variable] > > Cc: Andreas Noever <andreas.noe...@gmail.com> > Cc: Michael Jamet <michael.ja...@intel.com> > Cc: Mika Westerberg <mika.westerb...@linux.intel.com> > Cc: Yehezkel Bernat <yehezkel...@gmail.com> > Cc: linux-...@vger.kernel.org > Signed-off-by: Lee Jones <lee.jo...@linaro.org>
Applied, thanks!