From 5743c5002275f6b67b869c88e4536ed04c28cb65 Mon Sep 17 00:00:00 2001 From: Marek Becka Date: Wed, 12 Feb 2014 15:17:21 +0100 Subject: [PATCH] reduce switch statement --- src/nfs.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/nfs.c b/src/nfs.c index fdd3149c..326fa708 100644 --- a/src/nfs.c +++ b/src/nfs.c @@ -500,26 +500,14 @@ static int nfs_submit_nfs4_client (const char *instance, char **fields, proc40_names_num = fields_num; break; case 40: - proc40_names_num = 35; - break; case 41: proc40_names_num = 35; break; case 42: - proc40_names_num = 36; - break; case 44: - proc40_names_num = 36; - break; case 46: - proc40_names_num = 36; - break; case 47: - proc40_names_num = 36; - break; case 51: - proc40_names_num = 36; - break; case 53: proc40_names_num = 36; break; -- 2.11.0