From: Damien Lespiau Date: Fri, 30 Aug 2013 14:39:26 +0000 (+0100) Subject: drm/i915: Don't call sg_free_table() if sg_alloc_table() fails X-Git-Tag: v3.12-rc1~61^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2933a5b8f8f11cbdf9d2e44f0c7c7abeeb64e6b;p=pandora-kernel.git drm/i915: Don't call sg_free_table() if sg_alloc_table() fails One needs to call __sg_free_table() if __sg_alloc_table() fails, but sg_alloc_table() does that for us already. Signed-off-by: Damien Lespiau Reviewd-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed