From: Marek Becka Date: Wed, 12 Feb 2014 14:17:21 +0000 (+0100) Subject: reduce switch statement X-Git-Tag: collectd-5.5.0~135^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5743c5002275f6b67b869c88e4536ed04c28cb65;p=collectd.git reduce switch statement --- 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;