]> git.baikalelectronics.ru Git - kernel.git/commit
lib/parser.c: switch match_number() over to use match_strdup()
authorEric Biggers <ebiggers@google.com>
Tue, 30 Oct 2018 22:05:30 +0000 (15:05 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 31 Oct 2018 15:54:12 +0000 (08:54 -0700)
commit9e36f7c124c0c8baa4fda4b71f98bcc9a0828c8f
treea66e60a5e0c9093d49e7b0d7c27e4f7e696163b7
parenta53acf4b97b613434c02c0d6370b0fc58c143abf
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/20180830194727.191555-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/parser.c