patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / kernel / params.c
index 59667bc..5f38ee7 100644 (file)
@@ -161,7 +161,7 @@ int parse_args(const char *name,
                                                                        \
                if (!val) return -EINVAL;                               \
                l = strtolfn(val, &endp, 0);                            \
-               if (endp == val || *endp || ((type)l != l))             \
+               if (endp == val || ((type)l != l))                      \
                        return -EINVAL;                                 \
                *((type *)kp->arg) = l;                                 \
                return 0;                                               \