On Sat, Jan 15, 2022 at 08:45:05AM +0100, Christophe JAILLET wrote: > As stated in [1], dma_set_mask() with a 64-bit mask never fails if > dev->dma_mask is non-NULL. > So, if it fails, the 32 bits case will also fail for the same reason. > > Simplify code and remove some dead code accordingly. > > [1]: https://lore.kernel.org/linux-kernel/YL3vSPK5DXTNvgdx@xxxxxxxxxxxxx/#t > > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> > --- > v2: Update link to use lore instead of lklm > --- > drivers/infiniband/hw/mthca/mthca_main.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) Applied to for-next, thanks Jason