aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2015-10-08 19:27:59 +0530
committerDaniel Vetter <[email protected]>2015-10-08 16:30:13 +0200
commit11aee0f6d1b6520620c5e7af04504ce9de588520 (patch)
tree4d666af965186c292d42ed975f1eb20395a11c4b /lib/mpi/mpi-cmp.c
parentaafd858192bc98fab9230f6a634af85c4079f80f (diff)
drm/i915: use error path
Use goto to handle the error path to avoid duplicating the same code. In the error path intel_dig_port is the last one to be released as it was the first one to be allocated and ideally the error path should be the reverse of the execution path. Cc: Daniel Vetter <[email protected]> Cc: Jani Nikula <[email protected]> Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions