lib/parser.c: switch match_number() over to use match_strdup()
authorEric Biggers <[email protected]>
Tue, 30 Oct 2018 22:05:30 +0000 (15:05 -0700)
committerLinus Torvalds <[email protected]>
Wed, 31 Oct 2018 15:54:12 +0000 (08:54 -0700)
commit36c8d1e7a27f94b4d812b2a0abf106dab0fa377e
treea66e60a5e0c9093d49e7b0d7c27e4f7e696163b7
parent4ed97b3c6d088e063e065142fc3217fae5cc29f8
lib/parser.c: switch match_number() over to use match_strdup()

This simplifies the code.  No change in behavior.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/parser.c