]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56cc2fed1a4c4bb5188e97663e878cd2f2d986a7
tree8481bc3d3c1665c2ce1b67222fca12bb30341a93
parent092bf43484b8df3a71e9fa8cd8a86e354c42bdc8
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