From 9ad60428dc07334406839ff1f89a61c44bd001e1 Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Thu, 8 May 2014 09:34:21 +0200 Subject: [PATCH] crush/builder.c: remove some unreachable return statements Signed-off-by: Danny Al-Gaaf --- src/crush/builder.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/crush/builder.c b/src/crush/builder.c index eff0bf63a52da..c319620860205 100644 --- a/src/crush/builder.c +++ b/src/crush/builder.c @@ -724,7 +724,6 @@ int crush_bucket_add_item(struct crush_bucket *b, int item, int weight) default: return -1; } - return 0; } /************************************************/ @@ -937,7 +936,6 @@ int crush_bucket_remove_item(struct crush_bucket *b, int item) default: return -1; } - return 0; } @@ -1043,7 +1041,6 @@ int crush_bucket_adjust_item_weight(struct crush_bucket *b, int item, int weight default: return -1; } - return 0; } /************************************************/ @@ -1159,7 +1156,6 @@ int crush_reweight_bucket(struct crush_map *crush, struct crush_bucket *b) default: return -1; } - return 0; } /***************************/ -- 2.39.5