devtmpfs: simplify initialization of mount_dev
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Wed, 15 Jan 2020 18:41:51 +0000 (19:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jan 2020 14:28:15 +0000 (15:28 +0100)
commit21766d11d151c82eb41c09338c8e149da6019a8b
tree8481bc3d3c1665c2ce1b67222fca12bb30341a93
parent0ff0e95e9909e6ddefc8caa3948f20c0cb3dd6fb
devtmpfs: simplify initialization of mount_dev

Avoid a bit of ifdeffery by using the IS_ENABLED() helper.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20200115184154.3492-4-linux@rasmusvillemoes.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devtmpfs.c