diff options
author | 2020-10-15 21:14:17 +0300 | |
---|---|---|
committer | 2020-10-15 12:46:08 -0600 | |
commit | 159246378d8483ba63844fc03027df70501552c1 (patch) | |
tree | 6da33e3a4bbb61775b1c106bd5ce219ccf21a952 /drivers/usb/cdns3/cdns3-imx.c | |
parent | vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit (diff) | |
download | linux-dev-159246378d8483ba63844fc03027df70501552c1.tar.xz linux-dev-159246378d8483ba63844fc03027df70501552c1.zip |
vfio/fsl-mc: Fix the dead code in vfio_fsl_mc_set_irq_trigger
Static analysis discovered that some code in vfio_fsl_mc_set_irq_trigger
is dead code. Fixed the code by changing the conditions order.
Fixes: cc0ee20bd969 ("vfio/fsl-mc: trigger an interrupt via eventfd")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions