[PATCH 7/7] drm/gem: dont init "ret" in drm_gem_mmap()

2014-02-05 Thread David Herrmann
ping On Tue, Jan 21, 2014 at 10:51 AM, Daniel Vetter wrote: > On Mon, Jan 20, 2014 at 08:26:29PM +0100, David Herrmann wrote: >> There is no need to initialize this variable, so drop it. Otherwise, the >> compiler won't warn if we use it unintialized. >> >> Signed-off-by: David Herrmann > >

[PATCH 7/7] drm/gem: dont init "ret" in drm_gem_mmap()

2014-01-21 Thread Daniel Vetter
On Mon, Jan 20, 2014 at 08:26:29PM +0100, David Herrmann wrote: > There is no need to initialize this variable, so drop it. Otherwise, the > compiler won't warn if we use it unintialized. > > Signed-off-by: David Herrmann I've replied with a few small comments on some patches, with those

[PATCH 7/7] drm/gem: dont init "ret" in drm_gem_mmap()

2014-01-20 Thread David Herrmann
There is no need to initialize this variable, so drop it. Otherwise, the compiler won't warn if we use it unintialized. Signed-off-by: David Herrmann --- drivers/gpu/drm/drm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_gem.c