[PATCH] block: ioprio: drop useless free_uid label

From: Luis Henriques
Date: Thu Feb 26 2015 - 17:56:49 EST


This goto statement can simply be replaced by a break, and the label can
be dropped.

Signed-off-by: Luis Henriques <luis.henriques@xxxxxxxxxxxxx>
---
block/ioprio.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/block/ioprio.c b/block/ioprio.c
index 42c680a17be4..cad43c832cc3 100644
--- a/block/ioprio.c
+++ b/block/ioprio.c
@@ -127,9 +127,8 @@ SYSCALL_DEFINE3(ioprio_set, int, which, int, who, int, ioprio)
continue;
ret = set_task_ioprio(p, ioprio);
if (ret)
- goto free_uid;
+ break;
} while_each_thread(g, p);
-free_uid:
if (who)
free_uid(user);
break;
--
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/