Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/dist/drm/radeon Replace `out' label by...



details:   https://anonhg.NetBSD.org/src/rev/75f613dfd4b5
branches:  trunk
changeset: 806614:75f613dfd4b5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Mar 02 23:29:56 2015 +0000

description:
Replace `out' label by break.

Reduces diff from upstream a little.

No functional change, confirmed by diffing `objdump -dr' output.

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 70ff20b31607 -r 75f613dfd4b5 sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c      Mon Mar 02 23:05:03 2015 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_fence.c      Mon Mar 02 23:29:56 2015 +0000
@@ -372,12 +372,12 @@
                }
 
                if (unlikely(r < 0))
-                       goto out;
+                       break;
 
                if (unlikely(!signaled)) {
                        if (rdev->needs_reset) {
                                r = -EDEADLK;
-                               goto out;
+                               break;
                        }
 
                        /* we were interrupted for some reason and fence
@@ -420,11 +420,11 @@
                                wake_up_all(&rdev->fence_queue);
 #endif
                                r = -EDEADLK;
-                               goto out;
+                               break;
                        }
                }
        }
-out:   spin_unlock(&rdev->fence_lock);
+       spin_unlock(&rdev->fence_lock);
        return r;
 }
 



Home | Main Index | Thread Index | Old Index