reduce switch statement
authorMarek Becka <marek.becka@superhosting.cz>
Wed, 12 Feb 2014 14:17:21 +0000 (15:17 +0100)
committerMarek Becka <marek.becka@superhosting.cz>
Wed, 12 Feb 2014 14:17:21 +0000 (15:17 +0100)
src/nfs.c

index fdd3149..326fa70 100644 (file)
--- 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;