[PATCH] drm/tegra: gem: Remove some dead code

2016-11-07 Thread Thierry Reding
On Sun, Oct 30, 2016 at 04:50:29PM +0100, Christophe JAILLET wrote: > 'dma_buf_map_attachment()' can not return NULL, so there is no need to > check for it. > > Signed-off-by: Christophe JAILLET > --- > drivers/gpu/drm/tegra/gem.c | 5 - > 1 file changed, 5 deletions(-) Applied, thanks. Th

[PATCH] drm/tegra: gem: Remove some dead code

2016-10-30 Thread Christophe JAILLET
'dma_buf_map_attachment()' can not return NULL, so there is no need to check for it. Signed-off-by: Christophe JAILLET --- drivers/gpu/drm/tegra/gem.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/tegra/gem.c b/drivers/gpu/drm/tegra/gem.c index 95e622e31931..19bf9cdf1f1